<div dir="ltr"><div>Please read NCL documentation.</div><div><br></div><div>NCL automatically spans all color maps.</div><div><pre> res@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels
res@cnMinLevelValF = ; set min contour level
res@cnMaxLevelValF = ; set max contour level
res@cnLevelSpacingF = ; set contour spacing
</pre></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 21, 2019 at 8:11 PM M P via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div>I define a colormap as</div><div><br></div><div>gsn_define_colormap(wks,"WhiteBlueGreenYellowRed")<br></div><div><br></div><div>I want to divide it into e.g. 20 equal intervals so I can plot data in different ranges</div><div>with different colors. </div><div><br></div><div>Can you help how to e.g. create an array colors[i] that would span the whole range? Or there is another way to do it?</div><div><br></div><div>Thanks,</div><div>Mark</div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>