Re: creat PDF file

From: fred (fred AT XXXXXX)
Date: Mon Oct 11 2004 - 11:18:02 MDT


> I got another problem to produce multiple pdf files (do
> loop for a few days) using NCL. see:

    .
    .
    .

> warning:GKS:GOPWK: -- Only one PDF workstation can be open at a time
> fatal:Workstation with PID#125 is not open

  Currently it is disallowed to have more then one PDF workstation
  open at a time. As you note, this in not a restriction on
  PostScript workstations. To write to several PDF workstations
  in a single script, you would have to do it sequentially, as in:

load "$NCARG_ROOT/lib/ncarg/nclex/gsun/gsn_code.ncl"

begin
  x = (/1.,0./)
  y = (/0.,1./)
  xx = (/10.,20.,30.,40.,50.,60.,70.,80.,90./)
  yy = (/0.,0.71,1.,0.7,0.002,-0.71,-1.,-0.71,-0.003/)
  
  wks = gsn_open_wks("pdf","pdf0")
  pl0 = gsn_xy(wks,xx,yy,False)
  destroy(wks)
  wks = gsn_open_wks("pdf","pdf1")
  pl1 = gsn_xy(wks,x,y,False)

end
  
Fred Clare

---------------------------------------------
Fred Clare fred AT ucar.edu 303-497-1284
Visualization & Enabling Technologies Section
NCAR Scientific Computing Division
---------------------------------------------
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Tue Oct 12 2004 - 17:06:26 MDT