[gradsusr] Plotting points and lines in GrADS

Matt Bunkers - WFO UNR matthew.bunkers at noaa.gov
Tue May 10 15:38:13 EDT 2016


Hi Jason,

To draw lines all you need to use is this:

'set line color style thickness'
'draw line x1 y1 x2 y2'

The x,y points are in inches from the upper left of the display.  Just play
around with them to get the location you want.

You can plot a point using font 3 and the number 2 (which will make a
bullet point).  For example,

'set string 1 c 6 0'
'set strsiz 0.13 0.13'
'set font 3'
'draw string '4.25' '5.5' 2'

will place a point roughly in the middle of the display.

-- Matt



On Tue, May 10, 2016 at 12:43 PM, Jason Snyder <jmssnyder at ucdavis.edu>
wrote:

> To whom it may concern,
>
> I am trying to plot a point in grads at a specific latitude and longitude
> in GrADS.  I also want to draw a line that connects several latitude and
> longitude points together in GrADS.  Does anyone know how to do this?
>
> Thanks,
>
> Jason
>
> --
> Jason Snyder PhD
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160510/0c7b3617/attachment.html 


More information about the gradsusr mailing list