<div dir="rtl"><div dir="ltr" style="text-align:left">Hו Colleen Mikovitz<br><span id="result_box" class="" lang="en"><span class="">My goal is</span> <span class="">to do</span> <span class="">as much as possible</span> <span class="">that the script</span> <span class="">will be</span> <span class="">automatic</span><span>,</span> <span class=""></span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">What</span> <span class="">my intention</span></span></span><span class="">.</span></span><br>
<span id="result_box" class="" lang="en"><span class="">in The original</span> <span class="">script</span> ,<span class="">I have</span> <span class="">these lines</span><span>:</span><br><br><br><span class="">prompt</span><span>,</span> <span class="">min</span><span>?</span> <span class="">'</span><br>
<span class="">Pull</span> <span class="">min</span><br><span class="">prompt</span> <span class="">'max</span><span>?</span> <span class="">'</span><br><span class="">Pull</span> <span class="">Max</span><br><br>
<span class="">'set vrange' min '</span><span>Max</span><br><br><span class="">I want to</span> <span class="">create a</span> <span class="">script</span> <span class="">where</span> <span class="">I will not have</span> <span class="">to say to</span> <span class="">Grads</span> <span class="">the maximum</span> <span class="">and</span> <span class="">minimum</span><span>, </span></span><span id="result_box" class="" lang="en"><span><span id="result_box" class="" lang="en"><span id="result_box" class="" lang="en"><span class="">I want</span></span> i<span class="">t will be</span> <span class="">automatically</span></span></span><span>, using</span> <span class="">the lines</span> <span class="">you told me</span> <span class="">where the</span> <span class="">problem is</span><span>.</span><br>
<span class="">Is it possible</span> <span class="">to create such a</span> <span class="">script</span><span>?</span></span><br><br></div><div dir="ltr" style="text-align:left">Avi.<br></div><div dir="ltr" style="text-align:left">
<div class=""> </div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/7/26 Colleen Mikovitz <span dir="ltr"><<a href="mailto:jennifer.c.mikovitz@nasa.gov" target="_blank">jennifer.c.mikovitz@nasa.gov</a>></span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Avi,<br>
<br>
Just going line by line from your script on the Grads prompt, it looks like the problem is here:<br>
<br>
'define max=max(hgtprs,e=1,e=21)'<br>
'd max'<br>
m1=subwrd(result,4)<br>
<br>
"d max" is what you are plotting in the Grads window, there is no result to assign your script variable m1. The same probably goes for m2, thus it fails when you try to use them in vrange. I'm not sure what your intent is, so I'm not sure how to help more.<br>
<br>
Colleen<br>
<div><div class="h5"><br>
On Jul 26, 2013, at 8:02 AM, avi kojokro wrote:<br>
<br>
> First I work with Windows, and the version of Grads 2.0.a9, I'm pretty new to Grads.<br>
> I have a problem with this script, is not working and I do not understand what my mistake,I'd love if someone will help me.<br>
> Attaching the script and screenshot of Grads and the error it registers to me.<br>
><br>
> Avi.<br>
</div></div>> <ensstd1.txt><1.png>_______________________________________________<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>
<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>
</blockquote></div><br></div>