gsnMaximize question

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


 
Hi,
 
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
<http://ngwww.ucar.edu/ngdoc/ng/ug/ncl/gsun/appendixa.html#gsnPaperOrientation>
gsnPaperOrientation,
<http://ngwww.ucar.edu/ngdoc/ng/ug/ncl/gsun/appendixa.html#gsnPaperMargin>
gsnPaperMargin,
<http://ngwww.ucar.edu/ngdoc/ng/ug/ncl/gsun/appendixa.html#gsnPaperWidth>
gsnPaperWidth, and
<http://ngwww.ucar.edu/ngdoc/ng/ug/ncl/gsun/appendixa.html#gsnPaperHeight>
gsnPaperHeight."
 
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)

  overlay(plot(0),plotV(0))
  overlay(plot(1),plotV(1))

 
  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
 

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

 

 

_______________________________________________
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 Nov 18 2003 - 14:58:52 MST