Hi Alan, Alan W. Irwin wrote: > Hi Mark: > > (I also have an important note for Hazen at the end.) > > On 2009-07-15 10:48+0200 Mark de Wever wrote: > >> Alan W. Irwin wrote: >> I just tested with the xwin device, with the following command: >> ./x01 -dev xwin -ori 3 -geometry 500x800 >> This is what my patch is supposed to fix. > > That does look odd, but all it is doing is rotating (and shrinking to fit > into the window) the odd aspect ratio you have specified for > > ./x01 -dev xwin -geometry 500x800 > > In other words, the -ori option preserves the aspect ratio you get with > -ori > 0 (or no -ori option at all). So this is designed behaviour and not a bug. > > I suspect you want the aspect ratio of the rotated plot adjusted to fit > into > the window. In that case, use the -freeaspect option.
Thanks the -freeascpect works as expected and avoids me to figure out the needed aspect ratio. I had a look at the documentation and I found the issue mentioned here: http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.4/advanced.html#arguments In my code I use the function plsori to set the orientation, which doesn't mention the aspect ratio. Would it be possible to add some information at the documentation of the plsori function as well? >> You mentioned the default aspect ratio so I started to play a little >> bit with the aspect ratio and with the following command the plot also >> looks fine: >> ./x01 -dev xwin -ori 3 -geometry 500x800 -a 2 > > If you specify the aspect ratio, I just double-checked that is what is > plotted at all -ori values (rather than the default aspect ratio you get > with -ori 0). I hope this explanation clears everything up for you. Yes it does. >> I [...] also tested with the xcairo driver and it seems that when >> plotting rotated the text is no longer drawn. > > Good spotting! That is definitely a bug. You're welcome. Regards, Mark de Wever ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel