|
From: Petr M. <mi...@ph...> - 2004-10-26 06:31:40
|
> > bind "p" 'set term post color solid; set output "a.ps"; replot; set out; set term pop' > > Huh? > You mean I am supposed to issue a pop without a previous push? > [tries it - yes, that works] > So then what is the "push" used for? According to docs: After gnuplot's startup, the default terminal or that from `startup` file is pushed automatically. => without "push", you can "pop" the default startup terminal. > No wonder I never got it to work before now. That has nothing to do with your command. > Also, does this use require that "set output" comes before "set term pop"? > I note that the documentation current states: > > When both `set terminal` and `set output` are used together, > it is safest to give `set terminal` first The interactive terminals, for which 'push' is mainly used, have empty 'set out'. --- PM |