[ncl-talk] How to coincide zero with the white color of the colo bar with uneven numbering

snehlata Tirkey snehlata_tirkey at yahoo.com
Thu Nov 13 05:24:19 MST 2014


Hello NCL users,
I am trying to plot a color plot with a color bar of range -1 to 2 with an interval of 0.2 by using-
  wks = gsn_open_wks("ps","MSE_0.5")
  gsn_define_colormap(wks,"BlueWhiteOrangeRed")
  
  res               =  True
  res at gsnMaximize      =  True
  res at gsnAddCyclic     =  False
  res at cnFillOn           =  True
  res at gsnSpreadColors  =  True
  res at gsnSpreadColorStart = -1
  res at gsnSpreadColorEnd  = 2
  res at trXMinF        = 11
  res at trXMaxF        = 27
 res at cnLevelSelectionMode =  "ManualLevels"
  res at cnLevelSpacingF    = 0.2
  res at cnMinLevelValF   =  -1
  res at cnMaxLevelValF    = 2 I want '0' to coincide with the white of the bar but it is coinciding with the yellow. Please help.
Thanking in anticipation.
Yours sincerely,Snehlata Tirkeye-mail: snehlata_tirkey at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141113/77393405/attachment.html 


More information about the ncl-talk mailing list