[ncl-talk] color table issues
Grace Choi
gracesh27 at gmail.com
Thu Sep 28 16:44:59 MDT 2017
Thank you so much for your explanation. Although my question wasn't clear,
your explanation helped me understand the functions much better.
Sincerely,
Grace
On Thu, Sep 28, 2017 at 9:35 AM, Mary Haley <haley at ucar.edu> wrote:
> Hi Grace,
>
> 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:
>
> res at cnFillPalette = "rainbow"
> res at cnSpanFillPalette = True ; span the rainbow color ,ap
>
> 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.
>
> Make sure you don't have this line in your script, because this will cause
> the color map to not be spanned:
>
> res at gsnSpreadColors = False
>
> If you do have the above, try either setting it to True, or commenting it
> out.
>
> --Mary
>
>
>
> On Wed, Sep 27, 2017 at 3:09 PM, Grace Choi <gracesh27 at gmail.com> wrote:
>
>> Hello everyone,
>>
>> 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?
>>
>> Also, I am wondering if the issue above is related to the issue I've been
>> having with other functions, such as gsn_define_colormap(wks,"rainbow").
>> When I expect to see actual rainbow colors, I only see different shades of
>> blue on my map. Please help.
>>
>> Sincerely,
>> Grace
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170928/b60339d4/attachment.html>
More information about the ncl-talk
mailing list