gsnMaximize question

From: Jan Dutton (JDutton AT XXXXXX)
Date: Tue Nov 18 2003 - 11:33:38 MST

I'm trying to produce a three panel plot showing differences between
mesoscale model runs. The images within the three panel plot end up being
quite small. I'm using gsnMaximize and the associated paper size functions
to enlarge the page size, but it does not seem to affect the paper size of the
PS file.
I tried writing an NCGM file, and it seemed to work fine.
The gsnMaximize description says:
"The aspect ratio will be preserved. For a PostScript or PDF file, the plot will
be expanded to fill the biggest possible space on an 8 1/2" x 11" sheet of
paper. You can change the default paper size or orientation with the resources
gsnPaperWidth, and
Do these controls work for PS files?
The relevant parts of my script are:
  res@gsnMaximize = True ; biggest plot possible
 gsnPaperMargin = 0.15
 gsnPaperWidth = 10.625
 gsnPaperHeight = 13.75

  plot(0) = gsn_csm_contour_map(wks,slpw(0,:,:)/100.,res) ; Draw contours
over a map.
  plotV(0) = gsn_csm_vector(wks,Uw(0,:,:),Vw(0,:,:),resV)
  plot(1) = gsn_csm_contour_map(wks,slpn(0,:,:)/100.,res) ; Draw contours
over a map.
  plotV(1) = gsn_csm_vector(wks,Un(0,:,:),Vn(0,:,:),resV)


  gsn_panel(wks,plot,(/3,1/),res) ; now draw as one plot

I have attached an example image (PNG format).
Is there a way to avoid this while writing directly to PS files?
Thanks for your suggestions!

Jan F. Dutton, Ph.D.
Director of Weather Services
WeatherNet Business Services
AWS Convergence Technologies Inc.
jdutton AT
1-800-544-4429 x1662



ncl-talk mailing list
ncl-talk AT

This archive was generated by hypermail 2b29 : Tue Nov 18 2003 - 14:58:52 MST