Re: Multiple plot outputs

From: Dave Allured <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Fri Apr 08 2011 - 21:38:17 MDT

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.


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
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Sat Apr 9 13:38:23 2011

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