Hi,<br><br>&quot;draw rec&quot; uses the coordinates of the GrADS-page from 0 to 11 and 0 to 8.5. So, you have to convert the geographical coordinates to these page-coordinates with &quot; q w2xy&quot;.<br><br>Regards,<br>
Heiner<br><br><div class="gmail_quote">On Jan 18, 2008 10:54 AM, Sachin Ghude &lt;<a href="mailto:sachinghude@tropmet.res.in">sachinghude@tropmet.res.in</a>&gt; 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 all,<br><br>I am trying to highlight Indian region drawing a transparent BOX over a Grads image.<br><br>I am using &quot;draw rec xlo ylo xhi yhi&quot; command, but its not working. could somebody<br>help me to draw a rectangle over a selected location.
<br><br>Following are the sequence of command im using in script file.<br>&#39;reinit&#39;<br>&#39;set display color white&#39;<br>&#39;c&#39;<br>&#39;set grads off&#39;<br>&#39;set gxout shaded&#39;<br>&#39;set clevs 0 50 100 150 200 250 300 325 350&#39;
<br>&#39;set ccolor rainbow&#39;<br>&#39;d Oz&#39;<br>&#39;draw rec 65 8 95 35&#39;<br>&#39;run cbarn&#39;<br>&#39;printim G:GlobalOz.jpg&#39;<br><font color="#888888"><br>Sachin Ghude<br>IITM<br></font></blockquote></div>
<br><br clear="all"><br>-- <br>Heiner Körnich &nbsp; &nbsp;<br>Dept. of Meteorology &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Tel: &nbsp;+46 8 164333<br>Stockholms University, SE-106 91 Stockholm, Sweden<br>Email: <a href="mailto:heiner@misu.su.se">heiner@misu.su.se</a>
 &nbsp; <a href="http://www.misu.su.se/~heiner/">www.misu.su.se/~heiner/</a>