[gradsusr] Drawing Arbitrary Lines

Mireieta mireieta at gmail.com
Fri Sep 16 12:59:35 EDT 2011


Great! Thanks Jeffrey! I didn't know about the existence of this option 'q
w2xy lat lon' to find the virtual page coordinates!

Mireia

2011/9/15 Jeffrey Duda <jdduda at iastate.edu>

> I'm assuming you know the lat/lon coordinates of the end points of the line
> representing the cross section.  Use 'q w2xy lat lon' to determine where on
> the virtual page your lat/lon coordinates lie.  Then take the output into
> some variable and use the draw line<http://www.iges.org/grads/gadoc/gradcomddrawline.html>command to draw the line on the page.  If you are drawing with projected
> data, beware that the line you draw will probably be distorted due to the
> projection.  But if you are using latlon for mproj, your line should appear
> correctly.
>
> Jeff Duda
>
> On Thu, Sep 15, 2011 at 7:57 PM, Mireieta <mireieta at gmail.com> wrote:
>
>> Hi,
>>
>> I am plotting arbitrry cross sections as explained in the grads
>> documentation. Now, I would like to draw the lines through where I am doing
>> the cross sections in a 2D lon-lat map.
>>
>> Anyone knows how to do this?
>>
>> Thanks
>>
>> --
>> Mireia
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Iowa State University
> Meteorology Graduate Student
> www.meteor.iastate.edu/~jdduda <http://www.meteor.iastate.edu/%7Ejdduda>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Mireia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110916/971fd5a3/attachment-0003.html 


More information about the gradsusr mailing list