<div dir="ltr">Thanks for your help, i appreciate it and will try it.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br><span style="border-collapse:separate;font-family:arial;font-size:small">jn 3:16</span></span></div><br></div></div></div>
<br><div class="gmail_quote">On Mon, Apr 10, 2017 at 2:02 AM, Davide Sacchetti <span dir="ltr"><<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I didn't find any simple solution<br>
the easiest way could be to add inner ticks, like this:<br>
<br>
ga-> q gxinfo<br>
Last Graphic = Line<br>
Page Size = 11 by 8.5<br>
X Limits = 2 to 10.5<br>
Y Limits = 0.75 to 7.75<br>
Xaxis = Time Yaxis = Val<br>
<br>
then you divide your 'X Limits' into the number of desired inner ticks,<br>
cycle on them and draw ticks (eg.: draw line 6.25 0.70 6.25 0.75)<br>
or vertical line (eg.: draw line 6.25 0.75 6.25 7.75)<br>
<br>
hoping it could help<br>
Bye<br>
Davide<br>
<br>
Il giorno ven, 07/04/2017 alle 15.26 +0000, Juan Jose Amides Figueroa<br>
Urbano ha scritto:<br>
<div><div class="h5">> Hi Grads ussers, i have an script to make a meteogram using the<br>
> subplot script but, my problem is, using GFS 0.5 Deg data for 41 time<br>
> steps (7 forecast days aprox) i want to show more times labels in x<br>
> axis (actually this script only show 5 time references) to bring more<br>
> references to do the forecast, please se the final result image<br>
> here: <a href="http://srt.marn.gob.sv/salidasgfs/06/gdi/meteograma_msss.png" rel="noreferrer" target="_blank">http://srt.marn.gob.sv/<wbr>salidasgfs/06/gdi/meteograma_<wbr>msss.png</a> <br>
><br>
> My script:<br>
><br>
> #=============================<wbr>==============================<wbr>=========<br>
> ===================<br>
><br>
> #=============================<wbr>==============================<wbr>=========<br>
> ===================<br>
><br>
> #=============================<wbr>====== METEOGRAMA<br>
> =============================<wbr>=========<br>
><br>
> #=============================<wbr>==============================<wbr>=========<br>
> ===================<br>
><br>
> #=============================<wbr>==============================<wbr>=========<br>
> ===================<br>
><br>
><br>
><br>
> #*****************************<wbr>***************************<br>
><br>
> #'set xsize 1400 3000'<br>
><br>
> 'set lat 13.699'<br>
><br>
> 'set lon 270.882'<br>
><br>
> 'set display color white'<br>
><br>
> 'set gxout shaded'<br>
><br>
> 'set csmooth on'<br>
><br>
> 'set grads off'<br>
><br>
> 'c'<br>
><br>
><br>
><br>
> # Temperaturas a 2 metros<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
> 'set grid on 3 1 2'<br>
><br>
> 'set t 1 41'<br>
><br>
> 'subplot 6 1 1 -xy 6.5 -ytight 0'<br>
><br>
> 'set grads off'<br>
><br>
> 'set gxout linefill'<br>
><br>
> 'set lfcols 2 10'<br>
><br>
> 'set vrange 0 45'<br>
> 'set vrange2 1 41'<br>
><br>
> 'set xlopts 1 3 0.05'<br>
><br>
> 'set ylopts 1 3 0.04'<br>
> 'set ylint 2.5'<br>
> 'set xlint 41'<br>
> 'tmp2menos=(tmp2m)*-1'<br>
><br>
> 'd (tmp2m-272.15);(tmp2menos-272.<wbr>15)'<br>
><br>
> 'set gxout linefill'<br>
><br>
> 'set lfcols 10 2'<br>
><br>
> 'dpt2menos=(dpt2m)*-1'<br>
><br>
> 'd (dpt2m-272.15);(dpt2menos-272.<wbr>15)'<br>
><br>
> 'set gxout line'<br>
><br>
> 'set ccolor 1'<br>
><br>
> 'set cmark 0'<br>
><br>
> 'd tmp2m-272.15'<br>
><br>
> 'set gxout line'<br>
><br>
> 'set cmark 0'<br>
><br>
> 'set ccolor 1'<br>
><br>
> 'd dpt2m-272.15'<br>
><br>
> 'set font 4'<br>
><br>
> 'set strsiz 0.15 0.15'<br>
><br>
> 'draw string 0.99 2.2 Meteograma para Aeropuerto Intl. Ilopango'<br>
><br>
> 'set font 4'<br>
><br>
> 'set strsiz 0.09 0.09'<br>
><br>
> 'draw string 0.99 2 Coordenadas: Lat 13.699, Lon -89.118'<br>
><br>
> 'set strsiz 0.06 0.06'<br>
><br>
> 'draw string 0.99 1.78 Temperatura(rojo) y Punto rocio (verde) a 2<br>
> metros en grados Celsius'<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
><br>
><br>
> #sunsdsfc<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
> 'set t 1 41'<br>
><br>
> 'subplot 6 2 1 -xy 6.5 -ytight 0'<br>
><br>
> 'set grads off'<br>
><br>
> 'set gxout linefill'<br>
><br>
> 'set lfcols 12 10'<br>
><br>
> 'sunsdsfcmenos=sunsdsfc*-1'<br>
><br>
> 'set xlopts 1 3 0.05'<br>
><br>
> 'set ylopts 1 3 0.05'<br>
><br>
> 'set vrange 0 24000'<br>
><br>
> 'd sunsdsfc;sunsdsfcmenos'<br>
><br>
> 'set gxout line'<br>
><br>
> 'set ccolor 1'<br>
><br>
> 'set cmark 0'<br>
><br>
> 'set cstyle 3'<br>
><br>
> 'd sunsdsfc'<br>
><br>
> 'set strsiz 0.06 0.06'<br>
><br>
> 'draw string 0.99 1.78 Duracion de luz en la superficie [Segundos]'<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
><br>
><br>
> #Precipitacion<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
> 'set t 1 41'<br>
><br>
> 'subplot 6 3 1 -xy 6.5 -ytight 0'<br>
><br>
> 'set grads off'<br>
><br>
> 'set gxout bar'<br>
><br>
> 'set ccolor 13'<br>
><br>
> 'set vrange 0 80'<br>
><br>
> 'set xlopts 1 3 0.05'<br>
><br>
> 'set ylopts 1 3 0.05'<br>
><br>
> 'd apcpsfc'<br>
><br>
> 'set strsiz 0.06 0.06'<br>
><br>
> 'draw string 0.99 1.78 Precipitacion cada hora [mm]'<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
><br>
><br>
> #Presion media al nivel del mar<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
> 'set t 1 41'<br>
><br>
> 'subplot 6 4 1 -xy 6.5 -ytight 0'<br>
><br>
> 'set grads off'<br>
><br>
> 'set gxout linefill'<br>
><br>
> 'set lfcols 15 10'<br>
><br>
> 'set vrange 1006 1024'<br>
><br>
> 'set xlopts 1 3 0.05'<br>
><br>
> 'set ylopts 1 3 0.05'<br>
><br>
> 'pmslmenos=(prmslmsl)*-1'<br>
><br>
> 'd (prmslmsl/100);(pmslmenos/100)<wbr>'<br>
><br>
> 'set gxout line'<br>
><br>
> 'set ccolor 1'<br>
><br>
> 'set cmark 0'<br>
><br>
> 'd prmslmsl/100'<br>
><br>
> 'set strsiz 0.06 0.06'<br>
><br>
> 'draw string 0.99 1.78 Presion media reducida al nivel del mar (QNH)<br>
> [Hecto Pascales]'<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
><br>
><br>
> #Altura de isoterma 0<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
> 'set t 1 41'<br>
><br>
> 'subplot 6 5 1 -xy 6.5 -ytight 0'<br>
><br>
> 'set grads off'<br>
><br>
> 'set gxout line'<br>
><br>
> 'set ccolor 2'<br>
><br>
> 'set cmark 0'<br>
><br>
> 'set cstyle 3'<br>
><br>
> 'set cthick 20'<br>
><br>
> 'set xlopts 1 3 0.05'<br>
><br>
> 'set ylopts 1 3 0.05'<br>
><br>
> 'd hgt0c' <br>
><br>
> 'set strsiz 0.06 0.06'<br>
><br>
> 'draw string 0.99 1.78 Altura de isoterma 0 (Nivel de congelamiento)<br>
> [Metros Geopotenciales]'<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
><br>
><br>
> #Viento en la vertical<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
> 'set t 1 41'<br>
><br>
> 'set z 1 19'<br>
><br>
> 'subplot 6 6 1 -xy 6.5 -ytight 0'<br>
><br>
> 'set grads off'<br>
><br>
> 'set gxout barb'<br>
><br>
> 'set digsiz 0.02'<br>
><br>
> 'set vrange 0 200'<br>
><br>
> 'set xlopts 1 3 0.05'<br>
><br>
> 'set ylopts 1 3 0.05'<br>
><br>
> 'd skip(ugrdprs*1.94,2);vgrdprs*<wbr>1.94'<br>
><br>
> 'set strsiz 0.06 0.06'<br>
><br>
> 'draw string 0.99 1.78 Viento en la vertical '<br>
><br>
> #-----------------------------<wbr>-<br>
><br>
><br>
><br>
> 'set font 0'<br>
><br>
> 'set strsiz 0.09 0.09'<br>
><br>
> 'draw string 0.99 0.15 Fuente: Modelo GFS 0.5 grados'<br>
><br>
> 'draw string 0.99 0.005 CCA/GM/DGOA/MARN'<br>
><br>
><br>
><br>
> 'printim /home/arw/trabajo/grads_temp/<wbr>meteograma_msss.png png white<br>
> x1920 y2568'<br>
><br>
><br>
> Thanks!<br>
><br>
><br>
> jn 3:16<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
</blockquote></div><br></div>