[ncl-talk] specify corner for gsn_contour plot, trYMinF is disabled

xiaoming Hu yuanfangcan at hotmail.com
Fri May 29 14:47:10 MDT 2015


I wanted to control the corner of gsn_contour plot
using
   res1 at trYMinF           =  -2
   res1 at trYMaxF           =  6
   res1 at trXMaxF           =   1
   res1 at trXMinF           =   -4
But it did not work, see attached figure. 

Seems the resources is disabled.

Any suggestions? 
See my plotting code:

  res1 at sfXArray                    = CoolingRate(index_effective)
  res1 at sfYArray                    = UHII_9PM(index_effective)
  res1 at cnFillOn                    = True
  res1 at cnLinesOn                   = False
  res1 at cnLineLabelsOn              = False
  res1 at tfDoNDCOverlay       = False  
  gsn_define_colormap(wks,"cosam") ; select
  res1 at gsnSpreadColors             = True
   res1 at trYMinF           =  -2
   res1 at trYMaxF           =  6 
   res1 at trXMaxF           =   1 
   res1 at trXMinF           =   -4 
  res1 at cnInfoLabelOn         = False
  res1 at pmLabelBarDisplayMode = "Always"
  Month_value = Month(::24)
  map = gsn_contour(wks, Month_value(index_effective), res1)
  draw(map)

Thanks a lot

Xiaoming 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150529/d79fab00/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TS_UHII_rmRain_InversionScatter_NocturnalMean_okcVS6surrounding_14.png
Type: image/png
Size: 943355 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150529/d79fab00/attachment-0001.png 


More information about the ncl-talk mailing list