colors doesn't change

From: H.Dang <danghy_at_nyahnyahspammersnyahnyah>
Date: Sun Aug 28 2011 - 20:00:19 MDT

Hi dear all,

In one of my plots, no matter how I set the cnFillColors, the filled colors
in the final plot doesn't change, looks like NCL chooses some color in the
color_table automatically. My code is:

  gsn_define_colormap(wks,"BlAqGrYeOrReVi200")
  res = True
  res@mpFillOn = False ;
turn map fill off
  res@mpOutlineOn = True ;
turn the map outline on
  res@cnFillOn = True ;
turn on color fill
  res@cnLinesOn = False ;
turn off the contour lines
  res@cnLevelSelectionMode = "ExplicitLevels" ;
set explicit contour levels
  res@cnLineLabelsOn = False ;
turn the line labels off
 ;res@cnLevels = (/ 4,8,12,16,20,24,28,32,36 /) ; set levels
 ;res@cnFillColors = (/ 100,110,120,130,140,150,160,170,180,190 /) ; set the
colors to be used
  res@cnLevels = (/ 4,8,12,16,20,24,28,32 /) ; set levels
  res@cnFillColors = (/ 0,110,120,130,140,150,160,170,180,190 /) ; set the
colors to be used

The colors are not what I set in res@cnFillColors at all. Any suggestons
are appreciated.

-- 
Cordially,
Hongyan(鸿雁)
Tel: 1-519-8884567ext36667

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Aug 28 20:00:47 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 29 2011 - 21:44:22 MDT