From: Ethan M. <merritt@u.washington.edu> - 2004-06-04 19:59:29
|
On Friday 04 June 2004 11:45 am, Lutz Maibaum wrote: > I noticed the following behavior in gnuplot 4.0 under linux: In a new > gnuplot session, copy&paste the following command: > > set term post; set outp 'test.ps'; set multiplot; set size 1,0.5; set > origin 0,0.5; splot x**2+y**2; set origin 0,0; splot x**2+y**2; unset > multiplot; set outp > > This will create a postscript file "test.ps", which contains two plots > as expected. Now execute this line again. The resulting postscript file > contains only one plot. Is this the expected behavior? Yes, I believe it is the expected behaviour. At the time of your first 'set output' the size was set to 1,1 so you created a full-size plot canvas. That is, the bounding box encompassed the entire page. Later you set the size to 1,0.5 At the time of your second 'set output' the size was still set to 1,0.5 and so you created only a half-size plot canvas. If you look at the second postscript file you will see that both of your plots are there; it's just that one of them is drawn onto the half of the page that is outside the bounding box. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |