Modifications to Plotskew.gs

Joe Covert Joe.Covert at NOAA.GOV
Thu Jan 19 12:30:04 EST 2006


Worked like a champ ... thanks.

Mary Jo Nath wrote the following on 1/19/2006 10:54 AM:

>Joe,
>I think the "if" test in lines 608-614 in your plotskew.gs script are where the
>drawing of the pressure levels are either turned on or off. In the case where
>"DrawPLev=1", meaning that pressure is the Y axis coordinate, then "set ylab on"
>causes GrADS to plot the pressure levels along the Y axis. By default GrADS
>uses a regular interval. In this case, it has been using 100mb. You can set the yaxis
>labeling levels explicitly using "set ylevs" according to the online documentation at
>http://grads.iges.org/grads/gadoc/gadocindex.html. (see below)
>I think if you insert the following line after line 611:
>
>set ylevs 20 50 100 200 300 400 500 600 700 800 900 1000
>
>you will get the levels drawn that you want.
>
>Good luck.
>Mary Jo
>
>From Grads documentation:
>set ylevs lev1 lev2 ... levN
>
>Allows the user to specify each individual labeled tick mark for the Y-axis.
>
>Usage Notes
>
>   1. Reset by clear, but not display.
>
>   2. set ylevs will override the tick mark interval specified with the set ylint command.
>
>   3. If you use set yaxis to specify labeled tick marks and also invoke set ylevs, then the tick marks lev1 ... levN specified with set ylevs will appear if they fall within the start and end range specified in the set yaxis command.
>
>   4. This command does not apply to a date/time axis.
>
>
>
>On Thursday 19 January 2006 10:23, Joe Covert wrote:
>
>
>>> Hey Folks ....
>>>
>>> I recently updated some of our displays that use the plotskew.gs script
>>> to extend the height of the plot to 20mb.  This is done via a 'SET LEV
>>> 1050 20' before the plotskew.gs script is called.
>>>
>>> Dot mil and dot gov domains can visit
>>> https://navy.ncdc.noaa.gov/gradsmap/indexcustomnogapsone.html to check
>>> it out.
>>>
>>> All parameters are indeed plotted up through 20mb.  Unfortunately the
>>> last vertical millibar level "annotated" by the script WRT height is
>>> 100mb.  I can't seem to find in the script where to modify the
>>> annotation to include a horizontal line at say 50mb and 20mb.  Without
>>> it users are having a difficult time determining Temp, Dew Point and
>>> Winds at the additional levels.
>>>
>>> Any help would be appreciated.
>>>
>>> I've attached the script I use.
>>>
>>> Thanks ahead,
>>>
>>> Joe
>>>
>>> joe.covert at noaa.gov
>>> (828) 271-4232
>>>
>>>
>>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4039 bytes
Desc: S/MIME Cryptographic Signature
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20060119/43d55dd1/attachment.bin 


More information about the gradsusr mailing list