[gradsusr] How to use draw function
Heiner Körnich
heiner at misu.su.se
Wed May 19 03:36:18 EDT 2010
Hi,
it is actually a little confusing. The draw command uses the coordinates of
your drawing window. Those coordinates range from 0 to 8.5 and 0 to 11 inch.
The coordinates that you were using are the world coordinates. Use the
function "q w2xy" to convert from world to xy coordinates, eg. for 65 deg
east and 10 deg north
q w2xy 65 10
Regards,
Heiner
On Wed, May 19, 2010 at 9:05 AM, sushant puranik
<sushantpuranik at gmail.com>wrote:
> Hi
> I am trying to make a rectangle over the region 65 deg to 75 deg east and
> equator to 10 deg north.
> As per instructions in the grads document first of all i made set line 1 1
> 1 then use draw rec 0 65 10 75 command. but there is no rectangle drawn on
> the plot.
>
> In the draw command xlo ylo xhi yhi corresponds to grid point or waht else.
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Heiner Körnich
Dept. of Meteorology Tel: +46 8 164333
Stockholms University, SE-106 91 Stockholm, Sweden
Email: heiner at misu.su.se www.misu.su.se/~heiner/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100519/084da8bc/attachment-0003.html
More information about the gradsusr
mailing list