Re: Skew_T color

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon, 09 Jun 2008 16:36:42 -0600

Please see Example 4 at: http://www.ncl.ucar.edu/Applications/skewt.shtml

Note the following line in the example

dataOpts_at_xpWind = 40. ; new location for winds [default 45

Yang Yang wrote:
> 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_at_ucar.edu>
> To: Yang Yang <yang123yang_at_yahoo.com>
> Cc: ncl-talk_at_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_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
Received on Mon Jun 09 2008 - 16:36:42 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 11 2008 - 13:31:20 MDT