Thank you very much. Problem is solved.<br><br><br><div class="gmail_quote">On Wed, May 19, 2010 at 5:09 PM, hersala <span dir="ltr"><<a href="mailto:hersala@gmail.com">hersala@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Sushant<br>I send you a little example that allow to draw a rectangle using world coordinates, so you can change the size or change slightly the geographic region selected for your plot and the rectangle will be "anchored" to its geographic position. This small code shoul by used in a *.gs script.<br>
Best regards.<br><br>Lic. Hernán Sala<br>
Instituto Antártico Argentino<br><br><br>*Draw rectangle<br>'set line 7 1 6'<br>lon1= 135<br>lat1= -78<br>'q w2xy 'lon1' 'lat1<br>say result<br>x1 = subwrd(result,3)<br>y1 = subwrd(result,6)<br>lon2= 239<br>
lat2= -70<br>'q w2xy 'lon2' 'lat2<br>say result<br>x2 = subwrd(result,3)<br>y2 = subwrd(result,6)<br>'draw rec 'x1' 'y1' 'x2' 'y2<br><br><br><br><br>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sushant Puranik<br>Junior Research Fellow<br>Dept. of Atmospheric & Space Sciences,<br>University of Pune,<br>Pune-07,<br>India.<br>