<div dir="rtl"><div dir="ltr" style="margin-left:40px"><span lang="en"><span>Thank you.<br></span></span><span id="result_box" class="" lang="en"><span class="">But</span> <span class="">I am having a problem</span> <span class="">of</span> <span class="">error</span><span>, and I</span> <span class="">do not know what</span> <span class="">did I do wrong</span></span>. <span id="result_box" class="" lang="en"><span class="">The first</span> <span class="">graph</span> <span class="">is drawn</span> <span class="">well,</span> <span class="">the problem starts in</span> <span class="">second</span> <span class="">graph in the</span> <span class="">commands</span> <span class="">I did</span> <span class="">according to what</span> <span class="">you told me.</span></span><br>
<span id="result_box" class="" lang="en"><span class="">I add</span> <span class="">here</span> <span class="">the script</span> <span class="">refers to</span> <span class="">the second</span> <span class="">graph</span><span class="">,</span> <span class="">what</span> <span class="">did I do wrong?<br>
<br><br>&#39;set parea 1.3 8.2 8.05 9.275&#39;<br>&#39;set xlab off&#39;<br>&#39;set grid on&#39;<br>&#39;set lev 1000&#39;<br>&#39;set t 1&#39;<br>&#39;define mx=max(z(lev=500)-z(lev=1000),t=1,t=65)&#39;<br>&#39;d mx&#39;<br>
m1=subwrd(result,4)<br>&#39;set lev 1000&#39;<br>&#39;define mn=min(z(lev=500)-z(lev=1000),t=1,t=65)&#39;<br>&#39;d mn&#39;<br>m2=subwrd(result,4)<br>&#39;set lev 1000&#39;<br>&#39;set vrange &#39;m2-1&#39; &#39;m1+1<br>&#39;set t 1 65&#39;<br>
&#39;set ccolor 3&#39;<br>&#39;set cmark 0&#39;<br>&#39;set ylint 20&#39;<br>&#39;d z(lev=500)-z(lev=1000)&#39;<br>&#39;q gxinfo&#39;<br>x=sublin(result,3)<br>xlo=subwrd(x,4)<br>xhi=subwrd(x,6)<br>y=sublin(result,4)<br>ylo=subwrd(y,4)<br>
yhi-subwrd(y,6)<br>&#39;draw recf &#39;xlo&#39; &#39;ylo&#39; &#39;xhi&#39; &#39;yhi&#39;&#39;<br>&#39;set string 3&#39;<br>&#39;set strsiz 0.08 0.1&#39;<br>&#39;draw string 0.03 9.075 1000-500&#39;<br>&#39;draw string 0.03 8.675  max:&#39;m1&#39;&#39;<br>
&#39;draw string 0.03 8.275 min:&#39;m2&#39;&#39;<br>&#39;set parea off&#39;<br><br><br></span></span><br><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">And I</span> <span class="">also added</span> <span class="">a screenshot</span> <span class="">of</span> <span class="">the error</span> <span class="">in the command window</span> <span class="">of</span> <span class="">Grads</span></span>.<br>
<br></span></span></div><div dir="ltr" style="margin-left:40px"><span id="result_box" class="" lang="en"><span class="">Avi.<br></span></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">
2013/10/25 Davide Sacchetti <span dir="ltr">&lt;<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>&gt;</span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
method 2:<br>
display something<br>
&#39;q gxinfo&#39; returns you frame limits<br>
use sublin, subwrd on &#39;result&#39; to get X and Y limits<br>
use &#39;draw recf&#39; to cover xlabels just under Y bottom limit<br>
<br>
(everithing well documented in<br>
<a href="http://grads.iges.org/grads/gadoc/gadocindex.html" target="_blank">http://grads.iges.org/grads/gadoc/gadocindex.html</a> )<br>
<br>
bye bye<br>
<span class="HOEnZb"><font color="#888888">Davide<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, 2013-10-25 at 12:37 +0300, avi kojokro wrote:<br>
&gt; Thank you.<br>
&gt; Could you please give an example of how to write the script as you<br>
&gt; said?<br>
&gt;<br>
&gt;<br>
&gt; Avi.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2013/10/25 Davide Sacchetti &lt;<a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt;<br>
&gt;         i know just two workarounds:<br>
&gt;         1) draw vertical lines (you can set color and style of the<br>
&gt;         grid)<br>
&gt;         2) let grads draw vertical lines and time labels, after set<br>
&gt;         line 0 and<br>
&gt;         draw recf on the area spanned by time labels<br>
&gt;<br>
&gt;         hoping it my help<br>
&gt;         bye bye<br>
&gt;         Davide<br>
&gt;<br>
&gt;<br>
&gt;         On Fri, 2013-10-25 at 09:47 +0300, avi kojokro wrote:<br>
&gt;         &gt; Hello to all users of Grads.<br>
&gt;         &gt; I am attaching a screenshot of the command window and window<br>
&gt;         graphics<br>
&gt;         &gt; Grads, And the script.<br>
&gt;         &gt; I use the command &quot;  set xlab on &quot; and  &quot;&#39;set xlpos 0 t&#39; &quot;<br>
&gt;          To draw<br>
&gt;         &gt; the dates on the x axis, Then in the first graph created<br>
&gt;         time lines in<br>
&gt;         &gt; the graph above, my problem is: How do I keep the time line<br>
&gt;         in the<br>
&gt;         &gt; second, third, etc graph without painting the date and use<br>
&gt;         the command<br>
&gt;         &gt; &quot; set xlab on &quot; ?<br>
&gt;         &gt;<br>
&gt;         &gt; Does anyone have an idea?<br>
&gt;         &gt;<br>
&gt;         &gt; Thanks and sorry for bad English<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Avi.<br>
&gt;         &gt;<br>
&gt;<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; gradsusr mailing list<br>
&gt;         &gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;         &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;         --<br>
&gt;         --&gt; Attenzione cambio indirizzo: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a><br>
&gt;         --<br>
&gt;         Davide Sacchetti<br>
&gt;         Centro Funzionale Meteo Idrologico di Protezione Civile della<br>
&gt;         Regione Liguria<br>
&gt;         ARPAL Unità Tecnica Complessa di livello Regionale<br>
&gt;         V.le Brigare Partigiane 2 16121 Genova (I)<br>
&gt;         tel: +39 010 6437535                    fax: +39 010 6437520<br>
&gt;         mail: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>     web:<br>
&gt;         <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         gradsusr mailing list<br>
&gt;         <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;         <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
--<br>
--&gt; Attenzione cambio indirizzo: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a><br>
--<br>
Davide Sacchetti<br>
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria<br>
ARPAL Unità Tecnica Complessa di livello Regionale<br>
V.le Brigare Partigiane 2 16121 Genova (I)<br>
tel: +39 010 6437535                    fax: +39 010 6437520<br>
mail: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>     web: <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</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>
</div></div></blockquote></div><br></div>