location name, darken geographical line

Charles Seman Charles.Seman at NOAA.GOV
Tue Sep 5 18:50:17 EDT 2006


Praveen,

for your question 1), I hope the following technique helps, which was
adapted from ideas taken from
(1) "plot_hurricane_center.gs", a locally modified version of, Joe
Covert's script "plot_tc_shi.gs" (Joe.Covert at noaa.gov), which was posted
to the GrADS Listserv on 9/13/2004 (his script was named plot_tc_shi.gs)
on 4/27/06, found via a Google search for "plot_tc_shi.gs":
http://caos.iisc.ernet.in/gslib/plot_tc_shi.gs, and
(2) code in "hurricane_tracking.txt" (taken from an email exchange
posted to the GrADS Listserv by Kun-Hsuan Chou and Arturo Caracas Uribe
in Oct, 2004)

given (lon,lat) = (xlon,ylat), convert "world" coordinates to GrADS "xy"
coordinates:

say '    (xlon,ylat) = ('xlon','ylat')'
'q w2xy 'xlon' 'ylat   *
http://www.iges.org/grads/gadoc/script.html#commands
xp = subwrd(result,3)
yp = subwrd(result,6)
'set string 1 c 4'   * string is "centered"
http://grads.iges.org/grads/gadoc/gradcomdsetstring.html
'set strsiz 0.1'
xlon_format = math_format('%6.2f',xlon)    *
http://grads.iges.org/grads/gadoc/mathfunctions.html
ylat_format = math_format('%6.2f',ylat)
'draw string 'xp' 'yp' ('xlon_format','ylat_format')'

I hope this helps,
Chuck

P.Siva Praveen wrote:
> Dear All
> I need some suggestion to resolve following problem.
>
> 1)      If I want to put  a location point at XX Lat and YY Lon, and its name in  wind
> vector plot, what I should.
> 2)      In my output figure geographical land line is very light, how to darken the
> line.
>
> With best regards
> Praveen
>

--

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
 Charles Seman                                Charles.Seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not reflect
any position of the Government or NOAA."



More information about the gradsusr mailing list