how to change the colorbar scale in Vectors colored by a scalar map?

From: liping deng (lipingdengff AT XXXXXX)
Date: Fri Oct 29 2004 - 10:19:52 MDT


hello!

Thank you for your attention!

I using :

wks=gsn_open_wks("ps",diro+"DJFcmtctldiff79-98TUV200hPa")
                   
gsn_define_colormap(wks,"BlAqGrYeOrReVi200")
  

res = True
res = True
res@gsnSpreadColors = True
res@gsnSpreadColorEnd = 193
res@gsnSpreadColorStart = 6
res@lbLabelStride = 2
i = NhlNewColor(wks,0.7,0.7,0.7)

res@vcRefMagnitudeF = 5.0
res@vcRefLengthF = 0.050
res@vcGlyphStyle = "CurlyVector"
res@vcMinDistanceF = 0.017

res@cnLevelSelectionMode = "ManualLevels"
res@cnMinLevelValF = -10.0
res@cnMaxLevelValF = 10
res@cnLevelSpacingF = 1

 
plot = new(1,graphic)
plot=gsn_csm_vector_scalar_map_ce(wks,diff2(5,:,:),diff3(5,:,:),diff1(5,:,:),res)
 

I get the answer is :

warning:cnLevelSelectionMode is not a valid resource
in /DJFcmtctldiff79-98TUV200hPa_vector at this time
warning:cnMinLevelValF is not a valid resource in
/DJFcmtctldiff79-98TUV200hPa_vector at this time
warning:cnMaxLevelValF is not a valid resource in
/DJFcmtctldiff79-98TUV200hPa_vector at this time
warning:cnLevelSpacingF is not a valid resource in
/DJFcmtctldiff79-98TUV200hPa_vector at this time

Do anyone know how to change the scalar of the color
bar?

Thank you very much!

                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Fri Oct 29 2004 - 10:46:41 MDT