[ncl-talk] How to coincide zero with the white color of the colo bar with uneven numbering
mamadoulamine.mbaye at ucad.edu.sn
mamadoulamine.mbaye at ucad.edu.sn
Thu Nov 13 05:43:17 MST 2014
Hi Tirkey,
You can use res at cnFillColors = (/put the numbers corresponding of the desired color:
https://www.ncl.ucar.edu/Document/Graphics/ColorTables/BlueWhiteOrangeRed.shtml /)
Each color should has a number
Hope this helps!
Mamadou,
Regards
________________________________
De : ncl-talk-bounces at ucar.edu <ncl-talk-bounces at ucar.edu> de la part de snehlata Tirkey <snehlata_tirkey at yahoo.com>
Envoyé : jeudi 13 novembre 2014 04:24
À : ncl-talk at ucar.edu
Objet : [ncl-talk] How to coincide zero with the white color of the colo bar with uneven numbering
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 Tirkey
e-mail: snehlata_tirkey at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141113/a97f816b/attachment.html
More information about the ncl-talk
mailing list