[ncl-talk] color_bar_show only higher and lowest value and make colorbar continuous(not to show one box per color).

Sebastian Otarola-Bustos Sebastian.F.Otarola-Bustos.1 at nd.edu
Wed Aug 5 15:05:37 MDT 2015


Hi everyone, I want to modify a colorbar, only to show the higher and lower
values, and also I don't want to see one box per color. I would like to see
something continuous like this:

http://www.ncl.ucar.edu/Document/Graphics/ColorTables/Images/BlueRed_ce.png

Somebody knows the resources I need to set up to be able to do this?

These are the resources I'm using for the temperature contour:


 ;Temperature Options
 Tres at cnFillOn = True
 Tres at cnInfoLabelOn =  False
 Tres at cnLineLabelsOn = False
 Tres at cnLinesOn = False
 Tres at cnLevelSelectionMode = "ExplicitLevels"
 Tres at cnLevels=ispan(-500,500,50)*10^(-2)
 Tres at cnLineThicknessF = 4.0
 Tres at cnLineColor = "red"
 Tres at cnLineLabelPlacementMode = "constant"
 Tres at cnLineLabelFontColor = "red"
 Tres at cnFillOpacityF     = 1.0
 Tres at cnLabelDrawOrder = "PostDraw"
 Tres at cnLineDrawOrder = "PostDraw"
 Tres at cnFillPalette= "BlueRed"
 Tres at lbOrientation = "vertical"
 Tres at lbLabelFontHeightF = "0.02"
 Tres at cnMonoFillPattern =True

Any help would be really appreciated,
Thank you very much,
Sebastián.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150805/3c4d61bd/attachment.html 


More information about the ncl-talk mailing list