O.k., then, never mind the metafile.

What about plotting directly to a postscript device?

Let's say I want to generate a 3 page ps file where the first page is
landscape, the second portrait and the third one landscape...is this
possible?  ...I mean, I know it is possible, but, again, I am having a
hard time making the portrait page occupy the entire page...it insists
in reducing the size of the plot in the manner described in my original
post.

I am trying to use plsori, but I don't see any effect due to it.

I am trying to use plsdiori, but I have the same problem as before...my
plot is reduced in size to fit the width, and hence, ends up not tall
enough to fill up the page in the y direction.

What I am experiencing, right now, is that plplot always plots to a
"landscape" kind of page and when I ask portrait, it simply rotates the
"vritual landscape" page and fits it into the portrait.  Attempt to
change the aspect ratio only change the plot within the "virtual
landscape" page in which is being plotted.

Any pointers?

G.Salazar



-----Original Message-----
From: Maurice LeBrun [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 01, 2007 12:44 AM
To: Salazar, German P21322
Cc: plplot-general@lists.sourceforge.net
Subject: Re: [Plplot-general] post-processing with plrender.

Salazar, German P21322 writes:
 > 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? 

You are correct -- unfortunately plmeta & plrender do not handle
orientation
swaps well.  I've been meaning to fix that bug for years (literally).
Also
the metafile capability hasn't kept up with the advanced features
available in
other drivers.. ideally one could save in metafile format and later
reproduce
the result going direct to a physical device, which is after all the
main
point of a metafile.  But as written it is simply too low-level.  Of
course
one could support all manner of higher-level commands in theory -- for
example
a few years back I started on adding string support but never finished
it.

Back in the early 90's when I was doing big simulations & disk space was
scarce, the metafile driver was invaluable as a way to generate graphics
on the fly yet still be able to print out & manipulate selected plots
later.
These days, disk is so cheap that I never use that paradigm anymore,
preferring instead to invest in a state file capability & related
analysis
program.

-- 
Maurice LeBrun


-------------------------------------------------------------------------
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