<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Use 'set line' to control the color of the mark drawn with 'draw mark'. --Jennifer<div><br><div><br><div><div>On Apr 2, 2010, at 3:31 PM, liuzf406 wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><div>Dear Guilherme,</div><div> </div><div>Thanks, i took a try, but it can not work.</div><div>The marker is black by default. I want to get the red marker when drawing mark.</div><div>Best,</div><div>liu<br></div><div></div><br>在2010-04-03 03:25:53,"Guilherme Martins" <<a href="mailto:jgmsantos@GMAIL.COM">jgmsantos@GMAIL.COM</a>> 写道:<br><blockquote id="isReplyContent" style="padding-left: 1ex; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; ">Try:<br><br>'set ccolor x'<br><br>for example: set ccolor 2<span class="Apple-converted-space"> </span><br><br>where: 2 = red<br><br>where: x = table of color<br><br>Guilherme.<br><br><br><div class="gmail_quote">2010/4/2 liuzf406<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:liuzf406@126.com">liuzf406@126.com</a>></span><br><blockquote class="gmail_quote" style="padding-left: 1ex; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; "><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 class="im"><div></div><br>在2010-04-03 03:09:22,"Guilherme Martins" <<a href="mailto:jgmsantos@GMAIL.COM" target="_blank">jgmsantos@GMAIL.COM</a>> 写道:<br></div><blockquote style="padding-left: 1ex; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; ">Use this script below.<div><div></div><div class="h5"><br><br>I hope help you.<br><br>Guilherme.<br><br>'open 2002dv.ctl'<span class="Apple-converted-space"> </span><br><br>plat.1=-20.25777778<span class="Apple-converted-space"> </span><br>plat.2=-20.54361111<span class="Apple-converted-space"> </span><br>plat.3=-20.585<span class="Apple-converted-space"> </span><br><br>plon.1=-47.87083333<span class="Apple-converted-space"> </span><br>plon.2=-47.42305556<span class="Apple-converted-space"> </span><br>plon.3=-47.89138889<span class="Apple-converted-space"> </span><br><br>i=1<span class="Apple-converted-space"> </span><br> <br>'d abs(vwnd)'<br> <br>while(i<3)<span class="Apple-converted-space"> </span><br> 'query w2xy 'plon.i' 'plat.i<span class="Apple-converted-space"> </span><br> xpos=subwrd(result,3)<span class="Apple-converted-space"> </span><br> ypos=subwrd(result,6)<span class="Apple-converted-space"> </span><br> <br> 'draw mark 9 'xpos' 'ypos' 0.15'<br> i=i+1<span class="Apple-converted-space"> </span><br>endwhile<span class="Apple-converted-space"> </span><br> <br><br>2010/4/2 liuzf406<span class="Apple-converted-space"> </span><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-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: 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>--<span class="Apple-converted-space"> </span><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:<span class="Apple-converted-space"> </span><a href="mailto:guilherme.martins@cptec.inpe.br" target="_blank">guilherme.martins@cptec.inpe.br</a><br>E-mail alternativo:<span class="Apple-converted-space"> </span><a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a><br>Homepage:<span class="Apple-converted-space"> </span><a href="http://guilhermemartins.hd1.com.br/" target="_blank">http://guilhermemartins.hd1.com.br/</a><br>-----------------------------------------------------------<br><div style="display: inline; "></div></div></div></blockquote><br><br><span title="neteasefooter"></span></blockquote></div><br><br clear="all"><br>--<span class="Apple-converted-space"> </span><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:<span class="Apple-converted-space"> </span><a href="mailto:guilherme.martins@cptec.inpe.br">guilherme.martins@cptec.inpe.br</a><br>E-mail alternativo:<span class="Apple-converted-space"> </span><a href="mailto:jgmsantos@gmail.com">jgmsantos@gmail.com</a><br>Homepage:<span class="Apple-converted-space"> </span><a href="http://guilhermemartins.hd1.com.br/">http://guilhermemartins.hd1.com.br/</a><br>-----------------------------------------------------------<br><div id="avg_ls_inline_popup" style="position: absolute; z-index: 9999; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow-x: hidden; overflow-y: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px; display: inline; visibility: hidden; "></div></blockquote><br><br><span title="neteasefooter"></span></div></span></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></body></html>