gsn_panel problems

From: Richard Neale <rneale_at_nyahnyahspammersnyahnyah>
Date: Wed, 06 Jun 2007 18:58:09 -0600

I am trying to panel plot data using gsn_panel.
I write the successive subsets of a data array to a plot() graphics object
but when I come to produce the plot using gsn_panel it declares that
there is
NO CONTOUR DATA for every plot.
This is odd since if I plot the subsets of data one to a page without
gsn_panel
all the plots look fine.

Here are a coupled of relevant snippets of code since it is from a long
program.

**

plot2 = new(4,graphic)
wks3 = gsn_open_wks ("ps", plotname2) ; open ps file
gsn_define_colormap(wks3,"WhViBlGrYeOrReWh") ; choose colormap

...looping
plot2(iplot) = gsn_csm_contour_map_ce(wks3,
vari_modes(season|iseas,mode|imode,lat|:,lon|:), res3)
...

gsn_panel(wks3,plot2,(/nseasons*ncases,1/),pan2)

**

The only different thing I am doing from usual is deleting the
vari_modes variable after each plot
and then recreating it, but I'm pretty sure this should be ok.

Any ideas?
Thanks
Rich

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Richard Neale - Rm 304 - rneale_at_ucar.edu
 http://www.cgd.ucar.edu/cms/rneale 
 Climate Modelling Section,  CGD,  NCAR
 P.O. Box 3000, Boulder,  CO   80307-3000
 Tel (303) 497-1380    Fax (303) 497-1324
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 06 2007 - 18:58:09 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 14 2007 - 09:39:54 MDT