Try adding
res@cnFillMode = "RasterFill" ; Raster Mode
res@cnLinesOn = False ; Turn off contour lines
res@cnLineLabelsOn = False ; Turn off contour lines
On 02/03/2013 09:51 AM, thejna tharammal wrote:
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>>
>> begin
>> a=addfile("test_data.nc","r")
>> x = a->HDO
>> N = num(.not.ismissing(x))
>> print(N)
>>
>> wks = gsn_open_wks("x11","test")
>> gsn_define_colormap(wks,"rainbow")
>>
>> res = True
>> res@cnFillOn = True
>> res@gsnSpreadColors = True
>>
>> plot = gsn_csm_contour_map(wks,x,res)
>>
>> end
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 4 10:20:59 2013
This archive was generated by hypermail 2.1.8 : Wed Feb 06 2013 - 16:37:01 MST