Deleting the wks does indeed close it
Your other alternative is to open lots of PostScript workstations. You
can then converted ps to pdf files using GhostScript or the ps2pdf
utility. You can concatenate ps files to form a multipage document
before converting too.
Cheers,
Bryan
Gerry Creager wrote:
> delete(wks) will 'close' that workstation, but if you then create the
> exact same one, it'll overwrite the file. I think...
>
> If you create a new wks each time with different name, (create a new
> name, too) then you should get a different pdf filename.
>
> gerry
>
> Joel Norris wrote:
>> Try
>>
>> delete(wks)
>>
>> where wks is the name of your workstation
>>
>>
>>
>>
>>> 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
>>>
>>>
>>
>>
>
-- Bryan Woods Dept. of Geology & Geophysics Yale University, KGL 234 210 Whitney Ave New Haven, CT 06511 203.432.5669 (office) 978.726.3462 (cell) 203.432.3134 (fax) _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Thu Jan 10 2008 - 14:03:51 MST
This archive was generated by hypermail 2.2.0 : Thu Jan 10 2008 - 17:17:15 MST