<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>'set parea 1.3 8.2 8.05 9.275'<br>'set xlab off'<br>'set grid on'<br>'set lev 1000'<br>'set t 1'<br>'define mx=max(z(lev=500)-z(lev=1000),t=1,t=65)'<br>'d mx'<br>
m1=subwrd(result,4)<br>'set lev 1000'<br>'define mn=min(z(lev=500)-z(lev=1000),t=1,t=65)'<br>'d mn'<br>m2=subwrd(result,4)<br>'set lev 1000'<br>'set vrange 'm2-1' 'm1+1<br>'set t 1 65'<br>
'set ccolor 3'<br>'set cmark 0'<br>'set ylint 20'<br>'d z(lev=500)-z(lev=1000)'<br>'q gxinfo'<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>'draw recf 'xlo' 'ylo' 'xhi' 'yhi''<br>'set string 3'<br>'set strsiz 0.08 0.1'<br>'draw string 0.03 9.075 1000-500'<br>'draw string 0.03 8.675 max:'m1''<br>
'draw string 0.03 8.275 min:'m2''<br>'set parea off'<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"><<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>></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>
'q gxinfo' returns you frame limits<br>
use sublin, subwrd on 'result' to get X and Y limits<br>
use 'draw recf' 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>
> Thank you.<br>
> Could you please give an example of how to write the script as you<br>
> said?<br>
><br>
><br>
> Avi.<br>
><br>
><br>
><br>
> 2013/10/25 Davide Sacchetti <<a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>><br>
> i know just two workarounds:<br>
> 1) draw vertical lines (you can set color and style of the<br>
> grid)<br>
> 2) let grads draw vertical lines and time labels, after set<br>
> line 0 and<br>
> draw recf on the area spanned by time labels<br>
><br>
> hoping it my help<br>
> bye bye<br>
> Davide<br>
><br>
><br>
> On Fri, 2013-10-25 at 09:47 +0300, avi kojokro wrote:<br>
> > Hello to all users of Grads.<br>
> > I am attaching a screenshot of the command window and window<br>
> graphics<br>
> > Grads, And the script.<br>
> > I use the command " set xlab on " and "'set xlpos 0 t' "<br>
> To draw<br>
> > the dates on the x axis, Then in the first graph created<br>
> time lines in<br>
> > the graph above, my problem is: How do I keep the time line<br>
> in the<br>
> > second, third, etc graph without painting the date and use<br>
> the command<br>
> > " set xlab on " ?<br>
> ><br>
> > Does anyone have an idea?<br>
> ><br>
> > Thanks and sorry for bad English<br>
> ><br>
> ><br>
> > Avi.<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>
><br>
> --<br>
> --> 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<br>
> 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:<br>
> <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>
><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>
<br>
--<br>
--> 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>