<div dir="ltr"><div class="gmail_default" style="font-size:small">You can set:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">res@cnLevelSelectionMode = "ExplicitLevels"</div><div class="gmail_default" style="font-size:small">res@cnLevels = (/-10,-8,-6,-4,-2,0,2,4/)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">"cnLevels" can be any spacing of values that you want. They don't have to be equally spaced, but they do have to be increasing.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you need to match certain levels to certain colors in a color map, then you may want to see example "conLev_4.ncl" at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style><a href="http://www.ncl.ucar.edu/Applications/contourLev.shtml">http://www.ncl.ucar.edu/Applications/contourLev.shtml</a><br></div><div class="gmail_default" style><br></div><div class="gmail_default" style>--Mary</div><div class="gmail_default" style><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 10, 2014 at 8:03 AM, Xi Chang <span dir="ltr"><<a href="mailto:xi.chang01@gmail.com" target="_blank">xi.chang01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hallo, Is there any way to create uneven color bar? for instence my plotting values ranging from -10 to +4, and I want to always plot 0 values as white. Thank you.<br></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>