|
From: Harald H. <h.h...@tu...> - 2005-11-12 12:02:41
|
On Fri, 11 Nov 2005, Ethan A Merritt wrote: > On Friday 11 November 2005 05:11 pm, Daniel J Sebald wrote: > > > > I don't know if it is even that complicated. Certainly one can do that. > > But I'm constantly making the mistake of creating a plot half off > > screen in ghostview, then I expand out to some other page size beside > > "encapsulated" and there is the rest of the plot. > > And right there you have the reason why the PostScript driver is > different from all the others - it let's you draw "off the screen". > If you come to rely on that, you will eventually find that some > other driver will be extremely unhappy that you are trying to > draw outside the pre-allocated space. > > > > set size 2,2 > ^^^^^^^^^^^^^ > Don't do that. Oh no, not again. For all postscript terminals, it's the only way to produce large plots. And for some other terminals, it also works as scale factor for the canvas. If you are allowed to reduce the canvas size using 'set size 0.7,0.7' you also have to be allowed to increase it by using 'set size 2.0,2.0'. And to maintain compatibility (to the old code where no clipping was done in most terminals) we will have to handle sizes above 1, too. Have you had a look at the new patch, #1353539? Here, correct clipping works for postscript, png, and fig. It sets term->canvas in all terminals, now. Best regards Harald -- Harald Harders h.h...@tu... http://www.harald-harders.de |