Hi Mary:
Thanks!
I did as you suggested and got the color map that looks like rainbow+gray. So the NCL version I used is not the new version. What is the new version number? Thanks!
Regards
Ed
----- Original Message ----
From: Mary Haley <haley@ucar.edu>
To: Yang Yang <yang123yang@yahoo.com>
Cc: ncl-talk@ucar.edu
Sent: Monday, May 26, 2008 4:10:30 AM
Subject: Re: gsn_define_colormap(wks,"posneg_2")
Ed,
You need to have version 4.3.0 or later to have access to this color
map.
Do you get any error messages when you try to run your script?
If you add:
gsn_draw_colormap(wks)
right after gsn_define_colormap and run your script again, do you see a
color map that looks like rainbow+gray, as you have defined in your
.hluresfile? If so, then it may mean that you don't have a new enough
version of NCL.
--Mary
On May 23, 2008, at 5:10 PM, Yang Yang wrote:
> Hello:
> I would like to use the colors of posneg_2. After I set
> gsn_define_colormap(wks,"posneg_2"), the label colors are not like the
> color label of posneg_2 shown on the ncl website. Can you tell me how
> to solve this problem? Thanks!
> Regards
> Ed
> In my .hluresfile, it shows:
> !=========================================
> ! comments for ".res" files are preceded by a "!"
> ! remember quotations are not used in .res files
> ! White background/black foreground
> *wkForegroundColor : (/0.,0.,0./)
> *wkBackgroundColor : (/1.,1.,1./)
> *wkColorMap : rainbow+gray
>
> ! Font stuff
> *Font : helvetica
> ! Function Codes [Default is a colon ]
> *TextFuncCode : ~
> ! Make default X11 window larger (adjust as necessary)
> *wkWidth : 800
> *wkHeight : 800
> ! Have a favorite colormap that you use for everything? You can
> ! make it your default here (note the name is NOT in quotes):
> ! *wkColorMap temp1
> ! Increase the default (16mb) contour memory
> ! If you gave gridded data > 500 x 500, you may need this
> *wsMaximumSize: 32556688
> !==========================================
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun May 25 2008 - 16:57:48 MDT
This archive was generated by hypermail 2.2.0 : Tue May 27 2008 - 15:12:16 MDT