[ncl-talk] using double "gsn_define_colormap"

Xi Chang xi.chang01 at gmail.com
Wed Jul 8 10:30:32 MDT 2015


Hi Yes,

I'd like to use two colorbars in one panel plot:
1. amwg256
2. MPL_gist_earth

Using res at cnFillPalette gave me unexpected colors.. is there any clean and
simple way of using two different colorbars in one panel plot?

Chang

On Wed, Jul 8, 2015 at 5:38 PM, Maria Gehne - NOAA Affiliate <
maria.gehne at noaa.gov> wrote:

> Hi,
>
> I'm also not entirely sure what you are trying to do. If you want to plot
> panels with different colormaps and colorbars, look at example 29 on the
> panel plot examples page.
> http://www.ncl.ucar.edu/Applications/Scripts/panel_29.ncl
>
> Hope this helps,
> Maria
>
> On Wed, Jul 8, 2015 at 6:51 AM, Rick Brownrigg <brownrig at ucar.edu> wrote:
>
>> Hi,
>>
>> I'm not totally sure what your question is -- are you trying to extend
>> the colors in the colormap, or plot two different channels of data?  In any
>> case, you might take a look at the examples on RGBa color at:
>>
>> http://ncl.ucar.edu/Applications/rgbacolor.shtml
>>
>> Examples 7, 10, and 13 in particular use multiple colormaps.
>>
>> Hope that helps...
>> Rick
>>
>> On Wed, Jul 8, 2015 at 3:10 AM, Xi Chang <xi.chang01 at gmail.com> wrote:
>>
>>> Is there any feasible way to use gsn_define_colormap two times to
>>> produce different colorbar in the plot. I have tried to use
>>> res at cnFillPalette but it doesnt work properly.
>>>
>>> Thanks
>>> Chang
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>> _______________________________________________
>> 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/20150708/e69e0ffc/attachment.html 


More information about the ncl-talk mailing list