Hi,<br><br>"draw rec" 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 " q w2xy".<br><br>Regards,<br>
Heiner<br><br><div class="gmail_quote">On Jan 18, 2008 10:54 AM, Sachin Ghude <<a href="mailto:sachinghude@tropmet.res.in">sachinghude@tropmet.res.in</a>> 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 "draw rec xlo ylo xhi yhi" 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>'reinit'<br>'set display color white'<br>'c'<br>'set grads off'<br>'set gxout shaded'<br>'set clevs 0 50 100 150 200 250 300 325 350'
<br>'set ccolor rainbow'<br>'d Oz'<br>'draw rec 65 8 95 35'<br>'run cbarn'<br>'printim G:GlobalOz.jpg'<br><font color="#888888"><br>Sachin Ghude<br>IITM<br></font></blockquote></div>
<br><br clear="all"><br>-- <br>Heiner Körnich <br>Dept. of Meteorology Tel: +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>
<a href="http://www.misu.su.se/~heiner/">www.misu.su.se/~heiner/</a>