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
-- ______________________________________________________________ Adam Phillips asphilli@ucar.edu NCAR/Climate and Global Dynamics Division (303) 497-1726 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Sep 21 13:27:59 2011
This archive was generated by hypermail 2.1.8 : Thu Sep 22 2011 - 17:12:44 MDT