Re: Multiple plot outputs

From: Gerald Creager <gerry.creager_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 11 2011 - 10:00:46 MDT



Dave Allured wrote:
> Use draw() and frame() between pages, without closing the PDF
> "workstation". This should be done automatically by the plot command,
> for simple plots, unless contradicted by certain settings. For a nice
> simple example, download the code for maponly_2 from this page, change
> "ps" to "pdf" in the gsn_open_wks function call, and run it:
> The following setting *disables* the automatic page advance, although it
> is essential for some kinds of overlay features, such as weather symbols
> and paneling.
> res@gsnFrame = False
> This is discussed a little on the page for "frame", though not in the
> context of a PDF file. When you need this resource, use an explicit
> frame() command at the end of each page cycle, following one or more
> plot commands. Good luck.
> --Dave
> On 4/8/2011 5:44 PM, Gerald Creager wrote:
>> I'm trying to create what amounts to a PDF workbook of plots from within
>> a loop, and I'm getting only the first plot, then none else. I seem to
>> recall that it's possible to create the multi-page book form, but I
>> cannot recall how.
>> Suggestions warmly received!
>> Thanks, Gerry

Gerry Creager --
Texas Mesonet -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983
Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Tue Apr 12 02:01:05 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 19 2011 - 18:32:03 MDT