Re: Changing color maps in a panel plot

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Thu, 04 Dec 2008 10:32:09 -0700

Hi James,

You can use gsn_merge_colormaps:
http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_merge_colormaps.shtml

Colors=(/"white","black","blue","LightBlue","turquoise","green","white","white","yellow","orange","red","purple"/)
gsn_merge_colormaps(wks,"BlAqGrYeOrReVi200",Colors)

Adam

Correia, James wrote:
> Hi all-
> I am making a panel plot where I need to change colors for the last panel.
> I know this can be done when setting up the color palette.
>
> However, I am using:
> gsn_define_colormap(wks,"BlAqGrYeOrReVi200")
>
> And then
> Colors=(/"white","black","blue","LightBlue","turquoise","green","white","whi
> te","yellow","orange","red","purple"/)
>
> How do I merge these two and use the appropriate colors in each plot?
> gsn_define_colormap(wks,colors)
>
> Thanks
>
>
>
> James Correia Jr., PhD
> Climate Physics Group
> Post. Doc.
> Pacific Northwest National Lab
>
> "Wisdom. Strength. Courage. Generosity. Each of us are born with one of
> these. It is up to us to find the other three inside of us."
> -Into the West
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli_at_ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
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-talk
Received on Thu Dec 04 2008 - 10:32:09 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 03:51:46 MST