Alan W. Irwin wrote: > On 2009-07-14 15:01+0200 Mark de Wever wrote: > >> Hi, >> >> The calculation of the aspect ratio doesn't take the rotation angle of >> the plot into account. This patch solves the aspect ratio for 90 and >> 270 degrees. >> Using other rotation angles still give odd results, should I file a >> bug report for this issue? > > Could you be more specific by running one of our standard examples and > giving the exact command-line options where you are seeing the problem? It > is possible you are seeing a rotation bug for a specific device rather than > a core issue. I have just run our first standard example using -dev xwin > with -ori 0, -ori 1, -ori 2, and -ori 3, and the default 4:3 aspect > ratio is > preserved in the results. Historically, I have also run this test on other > devices with good results as well. However, I may have missed one.
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. 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 So guess my patch isn't needed after all. I first found the problem with the extcairo driver so also tested with the xcairo driver and it seems that when plotting rotated the text is no longer drawn. 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