From: Mark de W. <m.d...@da...> - 2009-09-21 13:13:47
|
Alan W. Irwin wrote: > On 2009-09-18 11:10+0200 Werner Smekal wrote: >> On 18.09.2009, at 10:21, Mark de Wever wrote: >>> The attached patch shows the modification I did to try to resize the >>> plot area and move the location of its origin in that test. The >>> resizing works, but the modification to the origin doesn't. It also >>> seems the origin is undocumented in the plplot documentation, so I >>> wonder whether it's supposed to work or not. >> >> AFAIK, should these parameters change the size of the plot area in a >> window (and therefore the size of the window) and the position of the >> window. At least the xwin driver implemented it that way, and I did >> the same for the wxWidgets driver. Other drivers may ignore position >> parameters. > > I agree the geometry option for the command line wasn't fully documented. > I have now updated that (revision 10421). Thanks for updating the documentation. > Note, that option or the equivalent plspage command can set xlength, > ylength, > xoffset, and yoffset. Supplementing what Werner said, we have the > following results: <snip> > That is, a lot of drivers pay attention to [xy]length set by -geometry or > plspage, but relatively few currently pay attention to [xy]offset set with > the same means. However, that deficiency should be easy to rectify for, > e.g., xcairo and extqcairo, and I would be happy to accept a patch to that > effect. I would also be happy to accept a similar patch for qtwidget and > extqt. Thanks for the confirmation that the geometry offsets should work, but that it isn't implemented in all drivers at the moment. Regards, Mark de Wever |