|
From: Harald H. <h.h...@tu...> - 2005-01-28 21:53:31
|
On Thu, 27 Jan 2005, Ethan Merritt wrote: > But in looking this up in the PostScript Reference Manual I also > notice that there is a distinction between > > %%BoundingBox and %%PageBoundingBox > > An *eps file should use only %%BoundingBox. So we're OK there. > > But the existence of %%PageBoundingBox seems directly relevant > to recent discussion on the use of "set size" before and > after "set term". > > I believe that the sequence > set size <x>,<y> > set term post > should alter the contents of %%BoundingBox > > But the sequence > set term post > set size <x>,<y> > plot "foo" > set size <x2>,<y2> > plot "baz" > should in principle be setting %%PageBoundingBox each time > the size is changed. At the end of the file, %%BoundingBox > is set to the maximum values ever used for individual pages. > > Is it worth making this change? How do you want to programme that? The BoundingBox has to be in the header of the Postscript file. It is not allowed to use (atend) here. You have to know what the BoundingBox of the plot will be before you do the first plot. Or do you want to hold the whole Postscript file in memory until the terminal is resetted or output is changed? I am curious. Regards Harald -- Harald Harders h.h...@tu... http://www.harald-harders.de |