Hi Mary:
Thanks!
May I ask you one more question about Skew_T?
I tried to set xpWind for different numberd from 45 in the script. However, the location of the wind profile is the same.
In the skewt_func.ncl I used, I found the following:
ypWind = skewty (pw)
xpWind = new (dimsizes(pw), float)
xpWind = skewtx (45. , skewty(1013.) ) ; location of wind barb
wmbarb(wks, xpWind, ypWind, up, vp )
wmsetp("col",wbcol) ; reset to initial color value
It seems that skewt_func.ncl uses fixed number (45) for the location. If this is the case, can you tell me how to make necessary changes so that different number setting for xmWind can be accepted by skewt_func.ncl? Thanks!
Regards
Ed
----- Original Message ----
From: Mary Haley <haley@ucar.edu>
To: Yang Yang <yang123yang@yahoo.com>
Cc: ncl-talk@ucar.edu
Sent: Tuesday, June 10, 2008 2:41:16 AM
Subject: Re: Skew_T color
Hi Ed,
I believe the Skew-T code uses colors from the default color table,
which is called "default". If you have changed the color map, then
you may get some unexpected results.
Some of the colors the Skew-T code is looking for are "PaleGreen",
"White", "Green", "Brown", "Tan", "RoyalBlue", "Red", and "Sienna"
(I've attached a sample PNG file so you can see them).
I would recommend *not* setting a color table for the Skew-T plots,
unless you explicitly include the colors that it needs.
--Mary
On Sun, 8 Jun 2008, Yang Yang wrote:
> Hello:
I used the example scripts to plot Skew_T, however, the green color was plotted with gray and pink colour was not plotted. I used Version 4.2.0.a033. Is the version not high enough? or my default colour table is different? Would you please help me solve this problem? Thanks!
Regards
Ed
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
Received on Mon Jun 09 2008 - 16:28:55 MDT
This archive was generated by hypermail 2.2.0 : Wed Jun 11 2008 - 13:31:20 MDT