map fill with differnt color

From: Chao Luo <cluo_at_nyahnyahspammersnyahnyah>
Date: Wed, 01 Feb 2006 14:28:04 -0800

Hi All,

I want to fill drainage basin with different color. The variable is 2d
dimension with different number (same number in same drainage area). For
example, 550 in area of 10-15N, 20-40E; and 800 in area 20-30N, 80-100E,
and so on. I want to fill the different color for different number in
different drainage basin areas like different color for different
country in world map.

Here is the part of code I used in the script. But it doesn't work.

res@cnFillOn = True ; turns on the color
res@mpFillOn = True
res@cnLinesOn = False
res@cnMinLevelValF = 300. ; set min contour level
res@cnMaxLevelValF = 900. ; set max contour level
;res@cnLevelSpacingF = 50
plot(0) = gsn_csm_contour_map_ce(wks_id,bsn_mdl(:,:),res)

Is there a function can be used to do it?

Thanks much,


ncl-talk mailing list
Received on Wed Feb 01 2006 - 15:28:04 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2006 - 08:16:57 MST