<div dir="ltr">Thank you so much for your explanation. Although my question wasn't clear, your explanation helped me understand the functions much better.<div><br></div><div>Sincerely,</div><div>Grace</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 9:35 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</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"><div class="gmail_default" style="font-size:small">Hi Grace,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Minor correction to Dennis' email. The cnFillPalette resource (only one 'l') is what allows you to set the colormap. It is not a True/False resource. The resource Dennis was referring to is cnSpanFillPalette:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"> res@cnFillPalette = "rainbow"</div><div class="gmail_default" style="font-size:small"> res@cnSpanFillPalette = True ; span the rainbow color ,ap</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">However, ever since NCL Version 6.1.0, which is now almost 5 years ago, NCL spans the full color map by default, and you shouldn't need to set cnSpanFillPalette at all.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Make sure you don't have this line in your script, because this will cause the color map to not be spanned:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"> res@gsnSpreadColors = False </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you do have the above, try either setting it to True, or commenting it out.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Sep 27, 2017 at 3:09 PM, Grace Choi <span dir="ltr"><<a href="mailto:gracesh27@gmail.com" target="_blank">gracesh27@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello everyone, <div><br></div><div>When I try on color table exercises on the ncl website, I only can get 31 colors to show up on my x11, as opposed to 255 colors that the example shows. Should I be particularly concerned about this?</div><div><br></div><div>Also, I am wondering if the issue above is related to the issue I've been having with other functions, such as <font color="#000000"><span style="white-space:pre-wrap">gsn_define_colormap(wks,"ra<wbr>inbow"). When I expect to see actual rainbow colors, I only see different shades of blue on my map. Please help. </span></font></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Sincerely,</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Grace</span></font></div></div>
<br></div></div><span class="">______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>