On 2007-08-31 22:55-0400 Salazar, German P21322 wrote:

> Say, if I have generated a meta file and then use plrender to turn it
> into a postscript file, the plot is in landscape (aspect < 1), i.e., the
> bottom of the plot is to the right of the sheet and the plot occupies
> the entire page.
>
> Can I generate a portrait plot using plrender?
>
> When I try, all I get is the plot with the same aspect ratio but a lot
> smaller so that the bottom of the plot (the side that used to be 11.5")
> has been reduced in size to make it fit onto the width (8.5") of a
> letter size page. So, now, there is a lot of space at the top and bottom
> of the plot...is this clear?
>
> What I would like to be able to achieve is to end up with the plot in
> portrait but with an aspect ratio > 1, so that it occupies the entire
> page.
>
> I have tried many combinations of  " plrender -freeaspect  -a  and -ori
> "  but nothing seems to work. what am I missing something?

I have done some investigation, and it turns out that
nothing works very well with plrender any more.
Here are two issues I spotted with the following test:

./x01c -dev plmeta -o test.plmeta
plrender -dev psc <options> -o test1.ps test.plmeta

(1) The -a option does not work correctly.  For example -a 3 shrinks the
plot by a uniform amount in both dimensions rather than changing the aspect
ratio.  This completely confirms the bug that German reported above.

(2) The fonts are not working correctly.  It looks like we get Hershey fonts
for plrender regardless.

Both these symptoms are completely unexpected since plrender should just
read the metafile which essentially holds all the plplot commands and then
let the PLplot library and chosen device go ahead and do their thing just
like they do if you run x01c for any device other than plmeta.  So I expect
the weird results we are getting for plrender now are overall symptoms of
some fundamental bug in plrender that has been recently introduced.  I
cannot imagine what that is since as far as I know we haven't had any API
changes.  Anyhow, plrender is part of our fundamental technology so this
issue is a showstopper bug that must be fixed before our next release.

Thanks, German, for drawing this issue to our attention.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to