[ncl-talk] labelbar

Barry Lynn barry.h.lynn at gmail.com
Wed May 29 00:25:11 MDT 2019


Hi:

Could you please explain in greater detail what you mean by: "not all
colors are shown."

Thank you,

On Wed, May 29, 2019 at 8:52 AM Kreienkamp Frank <Frank.Kreienkamp at dwd.de>
wrote:

> Hello,
>
>
>
> i am currently are stuck in a problem. I want to add a labelbar with 9
> colors. Using the following source:
>
>
>
> ;************************************************
>
> ; adding color definition
>
>    res at cnFillPalette                             = "NCL_DWD_RedYellow"
>
> ;************************************************
>
> ; adding map
>
>    res at cnFillOn                      = True               ; color Fill
>
>    res at cnLevelSelectionMode          = "ManualLevels"
>
>    res at cnMinLevelValF       =    -135.0             ; min contour level
>
>    res at cnMaxLevelValF       =       0.0              ; max contour level
>
>    res at cnLevelSpacingF      =      15.0             ; contour spacing
>
>    res at cnLabelBarEndStyle            = "ExcludeOuterBoxes"        ; no
> additional ColorBoxes
>
>
>
> the color-palette "NCL_DWD_RedYellow"  has 9 colors:
>
> ncolors= 9
>
> # r   g   b
>
> 102 051 051
>
> 140 039 039
>
> 178 026 026
>
> 216 013 013
>
> 255 000 000
>
> 255 063 000
>
> 255 127 000
>
> 255 191 000
>
> 255 255 000
>
>
>
> Unfortunately not all colors are shown.
>
>
>
>
>
> What do I have to change? I use version  6.4.0.
>
>
>
> Thanks in advance
>
> Frank
>
>
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190529/c35fdad5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 9914 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190529/c35fdad5/attachment.png>


More information about the ncl-talk mailing list