[ncl-talk] Contour fill doesn't work...

S Br sbr.climate at gmail.com
Thu Apr 25 02:52:02 MDT 2019


Dear User,
I am writing a simple script to see the contours filled with colour
(res at cnFillOn = True) but it doesn't show any colours. It shows only the
contours and colour bar.  What could be the probable region?
I am using NCL V 6.4.0
My Linux version is:
Linux tree17sbr 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux

Thanks.
S

begin

  in1 = addfile("precip.gpcp.mon.mean.nc","r")
  ann1=in1->precip(0,:,:)
;************************************
;create plot
;************************************
  wks = gsn_open_wks("png","test")             ; send graphics to PNG file
  res                     = True
  res at cnFillOn            = True             ; turn on color
  plot = gsn_csm_contour_map(wks,ann1,res)

end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190425/c591ab99/attachment.html>


More information about the ncl-talk mailing list