<div>Thank you José,</div>
<div> </div>
<div>It indeed work this time!</div>
<div>Even using the say command I could see that the lat-lon were in the wrong order!</div>
<div> Thanks.</div>
<div> </div>
<div>Eduardo.</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">2008/3/27, Jose Fernando Pesquero <<a href="mailto:pesquero@cptec.inpe.br">pesquero@cptec.inpe.br</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Eduardo,<br><br>You are using wrong values to the subwrd index.<br><br>nx0 = subwrd(result,1)<br>ny0 = subwrd(result,2)<br>
<br>Try it<br><br>nx0 = subwrd(result,3)<br>ny0 = subwrd(result,6)<br><br>use the command<br><br>say result<br><br>after any query command, to see better, the returns of this command<br><br>You´ll need to change nx1,ny1 in the same way.<br>
<br>Regards<br><br>Pesquero<br>> Hello Dear Grads' Users<br>><br>> I am trying to draw a rectangle doing as follows:<br>><br>> 'set gxout contour'<br>> 'set cthick 20'<br>> 'set cint 5.0'<br>
> 'set ccolor 1'<br>> 'd hgtcom-hgtc'<br>><br>> x0=-65<br>> y0=-28<br>> x1=-70<br>> y1=-38<br>> 'q w2xy 'x0' 'y0<br>> nx0 = subwrd(result,1)<br>> ny0 = subwrd(result,2)<br>
> 'q w2xy 'x1' 'y1<br>> nx1 = subwrd(result,1)<br>> ny1 = subwrd(result,2)<br>><br>> 'draw rec 'nx0' 'ny0' 'nx1' 'ny1<br>><br>> But it doesn't work!<br>
> What's wrong?<br>><br>> Thanks in advance.<br>><br>> Eduardo.<br>><br>><br></blockquote></div>