<div>Hi Kyle,</div><div><br></div><div>It seems that you have not defined properly 'draw mark'.</div><div>Please refer at:</div><div><a href="http://www.iges.org/grads/gadoc/gadocindex.html">http://www.iges.org/grads/gadoc/gadocindex.html</a>
</div><div><br></div><div>Regards, </div><div>Hernán</div><div><br></div><br><div class="gmail_quote">On 14 June 2012 12:28, Kyle Anderson <span dir="ltr"><<a href="mailto:kanderson2572@gmail.com" target="_blank">kanderson2572@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all,</div><div><br></div><div>I am just trying to have a map that shows daily precipitation over Argentina and also have some red circles to indicate a few station locations. Below I have the script I have been using with only one station for the draw mark command but I will be doing this for multiple stations. I did this for a map over North America and everything worked fine. Now trying for argentina I keep getting a syntax error for the line: 'q w2xy 'lon1'<span style="white-space:pre-wrap"> 'lat1 . As I said this worked fine for North America when I tried so not sure if this is something to do with the negative latitude now.</span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Thank you for any help you can provide,</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Kyle</span></div>
<div><br></div><div><br></div><div>'open ArgentinaPrecip.ctl'</div><div>*</div><div>'set display color white'</div>
<div>'c'</div><div>*</div><div>'set grads off'</div><div>'set gxout shaded'</div><div>'set csmooth on'</div>
<div>'set mpdset hires'</div><div>*</div>
<div>'set cmin 0.01'</div><div>'d apcpsfc'</div><div>*</div><div>'draw title Daily Accumulated Precipitation (mm)'</div><div>*</div><div>'set line 2'</div><div>*</div><div>style=3</div><div>
size=0.03</div><div>*</div><div>*Introduces world Coordinates</div><div>lon1 =292</div><div>lat1 =-35</div><div>*Converts world coords to XY coords it will be recalculated each time the map changes<span style="white-space:pre-wrap">        </span></div>
<div>'q w2xy 'lon1'<span style="white-space:pre-wrap"> 'lat1</span></div><div>say result<span style="white-space:pre-wrap">        </span></div><div>*Loads the XY coords in x1 and y1<span style="white-space:pre-wrap">        </span></div>
<div>x1 = subwrd(result,3)<span style="white-space:pre-wrap">        </span></div><div>y1 = subwrd(result,6)<span style="white-space:pre-wrap">        </span></div><div>*Draws a marker at x1 y1 position with selected size<span style="white-space:pre-wrap">        </span></div>
<div>'draw mark 'style' 'x1' 'y1' 'size<span style="white-space:pre-wrap">        </span></div><div>*</div><div><br></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br>