Hi Marjolaine,
Just to be sure, are you using gsn_define_colormap to define your new
colormap?
colors = (/"white", "black", "PeachPuff", "MintCream", "SlateBlue", \
"Khaki", "OliveDrab","BurlyWood", "LightSalmon", "Coral", \
"HotPink", "LemonChiffon", "AliceBlue", "LightGrey", \
"MediumTurquoise", "DarkSeaGreen", "Peru", "Tomato", \
"Orchid","PapayaWhip"/)
gsn_define_colormap(wks, colors)
color_17.ncl doesn't define a colormap for you to use in a plot, it
simply draws each color that is passed into the procedure
gsn_draw_named_colors.
If you are indeed using gsn_define_colormap, please let us know and send
us your script...
Adam
Marjolaine Rouault wrote:
> Hi,
>
> I am trying to generate a map with my own colors for the land and ocean fills.
> I am using named colors from the NCL color database. When using the ncl script
> color_17.ncl (from the NCL Home> Application examples> Plot techniques
> section), all my colors come out perfectly as they should.
>
> However, when using the same colors in my own script, the colors change
> completely. For example, PeachPuff becomes yellow and BurlyWood becomes grey.
>
> Can anyone help?
>
> Marjolaine Rouault
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> 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 ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Thu Apr 20 2006 - 08:21:43 MDT
This archive was generated by hypermail 2.2.0 : Thu Apr 20 2006 - 09:30:38 MDT