<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<p><font size="2"><b>Eduardo</b></font></p>
<p><strong><font size="2">Change </font></strong></p>
<p><font size="2">nx0 = subwrd(result,1)
<br />ny0 = subwrd(result,2)</font>
<br /></p>
<p>to </p>
<p><font size="2">nx0 = subwrd(result,3)
<br />ny0 = subwrd(result,6)</font></p>
<p></p>
<p><font size="2">and</font></p>
<p><font size="2">nx1 = subwrd(result,1)
<br />ny1 = subwrd(result,2)
<br /></font>
<p><font size="2"><b>On Thu, 27 Mar 2008 07:55:36 -0300, Eduardo Agosta Scarel wrote</b>
<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 />> '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 clear="all" />
<br />>
<br />
<br />
<br />1T(T) Leandro Machado
<br />Ajudante da Seção de Modelagem Atmosférica
<br />Centro de Hidrografia da Marinha
<br />R Barão de Jaceguai, s/n
<br />Ponta da Armação - Niterói
<br />CEP 24.048-900
<br />tel: (21) 2189-3282/3283 fax: (21) 2189-3295
<br /></font></p>
</p>
<p>to</p>
<p>nx1 = subwrd(result,3)
<br />ny1 = subwrd(result,6)
<br />
<br /></p>
</BODY>
</HTML>