|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-25 18:32:15
|
On Monday 25 October 2004 02:56 am, Petr Mikulik wrote: > > > bind "p" 'set term push; set term post color solid; set output "| lpr"; replot; set term pop' > > > > does not work. It produces a corrupt output stream. > > Adding in another 'set output' does not help. > > I think you want this: > > 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] No wonder I never got it to work before now. So then what is the "push" used for? 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 -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |