Re: multiple pdf plots

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 10 Jan 2008 17:29:36 -0700

[1] Do you have the recommended .hluresfile in your
      home directory?

      http://www.ncl.ucar.edu/Document/Graphics/hlures.shtml

      This should be in the hom directory of the machine on which you
       are executing NCL.

[2] pltType = "pdf"
         pltName = "XXX"

[a] do n=0,N
             wks = gsn_define_wks(pltType, pltName)
             [plot]
        end do

        will create XXX.pdf for each "n"
        There will be only one XXX.pdf because each iteration the
        pdf will be overwritten.

[b] do n=0,N
             wks = gsn_define_wks(pltType, pltName+"_"++n)
             [plot]
        end do

        will create multiple pdf, XXX_0.pdf, XXX_1,pdf, XXX_2.pdf ....

[c] wks = gsn_define_wks(pltType, pltName)
 
       do n=0,N
             [plot]
        end do

     will create one XXX.pdf with multiple figures.

D
     
Rob Nicholas wrote:
> I'm trying to write a script that creates a series of plots, each as a
> separate PDF file. NCL apprently allows only a single PDF workstation
> to be open at a time. How do I "close" a graphics workstation so I
> can move on to the next plot?
>
> Thanks,
> Rob
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jan 10 2008 - 17:29:36 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 14 2008 - 14:16:57 MST