<DIV>Dear Martins,</DIV>
<DIV> </DIV>
<DIV>Thanks so much.</DIV>
<DIV>I got it.</DIV>
<DIV>Do you know how to set the color for the mark?</DIV>
<DIV>Best,</DIV>
<DIV>Liu<BR></DIV>
<DIV></DIV><BR>在2010-04-03 03:09:22,"Guilherme Martins" <jgmsantos@GMAIL.COM> 写道:<BR>
<BLOCKQUOTE id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Use this script below.<BR><BR>I hope help you.<BR><BR>Guilherme.<BR><BR>'open 2002dv.ctl' <BR><BR>plat.1=-20.25777778 <BR>plat.2=-20.54361111 <BR>plat.3=-20.585 <BR><BR>plon.1=-47.87083333 <BR>plon.2=-47.42305556 <BR>plon.3=-47.89138889 <BR><BR>i=1 <BR> <BR>'d abs(vwnd)'<BR> <BR>while(i<3) <BR> 'query w2xy 'plon.i' 'plat.i <BR> xpos=subwrd(result,3) <BR> ypos=subwrd(result,6) <BR> <BR> 'draw mark 9 'xpos' 'ypos' 0.15'<BR> i=i+1 <BR>endwhile <BR> <BR><BR>2010/4/2 liuzf406 <SPAN dir="ltr"><<A href="mailto:liuzf406@126.com" target="_blank">liuzf406@126.com</A>></SPAN><BR>
<DIV class="gmail_quote">
<BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>Dear users,</DIV>
<DIV> </DIV>
<DIV>I need to draw some stations in my map, and use the following code:</DIV>
<DIV>lon='-87.75 -81.8 -120.45 -111.67 -75.55 -97.22 -124.48 -104.755 -100.746 -80.163236'<BR>lat='41.78 40.37 34.9 35.13 35.27 31.62 47.67 40.8064 41.0592 25.7325'<BR>j=1<BR>cn=999<BR>while(j<cn)<BR> 'q w2xy '<FONT color="#ff0000">%</FONT>subwrd(lon,<SPAN style="COLOR: rgb(255,0,0)">i</SPAN>)<SPAN style="COLOR: rgb(255,0,0)">%</SPAN>' '<SPAN style="COLOR: rgb(255,0,0)">%</SPAN>subwrd(lat,<SPAN style="COLOR: rgb(255,0,0)">i</SPAN>)<BR> x = subwrd(result,3)<BR> y = subwrd(result,6)<BR> 'draw mark 3 'x' 'y' 0.1'<BR> j=j+1<BR> endwhile</DIV>
<DIV>But it can not work, How can I draw these stations?</DIV>
<DIV> </DIV>
<DIV>Thanks so much!</DIV>
<DIV>Liu</DIV><BR></BLOCKQUOTE></DIV><BR>-- <BR>-----------------------------------------------------------<BR>José Guilherme Martins dos Santos<BR>Grupo de Modelagem da Atmosfera e Interfaces - GMAI<BR>Divisão de Modelagem e Desenvolvimento - DMD<BR>Centro de Previsão de Tempo e Estudos Climáticos - INPE<BR>Rodovia Presidente Dutra, km 39 - CEP 12630-000<BR>Cachoeira Paulista, SP, Brasil<BR>Telefone(CP): +55 12 3186 8502<BR>Celular(SJC): +55 12 91678770 / +55 12 81528580<BR>E-mail: <A href="mailto:guilherme.martins@cptec.inpe.br" target="_blank">guilherme.martins@cptec.inpe.br</A><BR>E-mail alternativo: <A href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</A><BR>Homepage: <A href="http://guilhermemartins.hd1.com.br/" target="_blank">http://guilhermemartins.hd1.com.br/</A><BR>-----------------------------------------------------------<BR>
<DIV id="avg_ls_inline_popup" style="DISPLAY: inline; VISIBILITY: hidden"></DIV>
<STYLE type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</STYLE>
</BLOCKQUOTE><br><br><span title="neteasefooter"/></span>