Re: Color maps

From: Petr Musilek <Petr.Musilek_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 22 2011 - 09:57:56 MDT

Hi Adam,

Thank you. I ended up changing the color map in .hluresfile

Petr

On 09/21/2011 11:27 AM, Adam Phillips wrote:
> Hi Petr,
> I think you can use gsn_define_colormap after you open your workstation:
> gsn_define_colormap(wks,"Temp1")
>
> and then replace the colors in cnFillColors with either color indices:
> http://www.ncl.ucar.edu/Document/Graphics/ColorTables/temp1.shtml
> or with named colors.
>
> Let the group know if that doesn't work..
> Adam
>
> On 09/21/2011 10:44 AM, Petr Musilek wrote:
>> Hello,
>>
>> I am playing with
>> scripthttp://www.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/CROSS_SECTION/wrf_CrossSection_3.ncl
>>
>> Instead of RH, I would like to plot temperature and need to change
>> colors. Currently, they are defined as follows
>>
>> opts_rh@cnFillColors = (/"White","White","White", \
>> "White","Chartreuse","Green", \
>> "Green3","Green4", \
>> "ForestGreen","PaleGreen4"/)
>>
>> Is there a way to change the code to use a predefined color map, e.g.
>> Temp1?
>>
>> Thank you,
>>
>> Petr
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 22 11:58:06 2011

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2011 - 17:12:44 MDT