<div dir="ltr"><div>Im a new user of grads and I can do 5 plots in the same page but i want to know if someone can help me to make a loop.<br></div> This is an example: "wind at 700Hpa and vorticity at 850Hpa"<br>
<br>"reinit"<br>"set display color white"<br>"c"<br>"set grads off"<br>"set xlopts 1 3 0.15"<br>"Set ylopts 1 3 0.15"<br>"Set ylint 5"<br>"set rgb 16 100 100 100"<br>
"set clevs -20 -15 -10 -5 0 5 10 15 20"<br>"set mpt * 16 1 6"<br>"set mpdset hires"<br>"sdfopen August_12h.nc"<br><br><br> <br>**************************************************************************************<br>
"set vpage 0 4 7.5 11"<br>**************************************************************************************<br>"set grads off"<br>"set lat 0 30"<br>"Set lon -30 20"<br>"set lev 850"<br>
"set t 1059"<br>"set gxout contour"<br>"set ccolor 4"<br>"set gxout shaded"<br>"d hcurl(u,v)*1e05"<br>"set lev 700"<br>"set t 1059"<br>"set gxout stream"<br>
"Set cthick 5"<br>"Set strmden 4"<br>"d u;v"<br>"run <a href="http://cbarn.gs">cbarn.gs</a>"<br>"draw title \ wind 700hPa-vorticity850hpa-050813-12h"<br><br>**************<br>
"set vpage 4 8 7.5 11"<br>**************************************************************************************<br>"set grads off"<br>"set lat 0 30"<br>"Set lon -30 20"<br>"set lev 850"<br>
"set t 1060"<br>"set gxout contour"<br>"set ccolor 4"<br>"set gxout shaded"<br>"d hcurl(u,v)*1e05"<br>"set lev 700"<br>"set t 1060"<br>"set gxout stream"<br>
"Set cthick 5"<br>"Set strmden 4"<br>"d u;v"<br>"run <a href="http://cbarn.gs">cbarn.gs</a>"<br>"draw title \ wind 700hPa-vorticity850hpa-060813-12h"<br><br>**************<br>
"set vpage 2 6 4 7.5"<br>**************************************************************************************<br>"set grads off"<br>"set lat 0 30"<br>"Set lon -30 20"<br>"set lev 850"<br>
"set t 1061"<br>"set gxout contour"<br>"set ccolor 4"<br>"set gxout shaded"<br>"d hcurl(u,v)*1e05"<br>"set lev 700"<br>"set t 1061"<br>"set gxout stream"<br>
"Set cthick 5"<br>"Set strmden 4"<br>"d u;v"<br>"run <a href="http://cbarn.gs">cbarn.gs</a>"<br>"draw title \ wind 700hPa-vorticity850hpa-070813-12h"<br><br>**************<br>
"set vpage 0 4 0.5 4"<br>**************************************************************************************<br>"set grads off"<br>"set lat 0 30"<br>"Set lon -30 20"<br>"set lev 850"<br>
"set t 1062"<br>"set gxout contour"<br>"set ccolor 4"<br>"set gxout shaded"<br>"d hcurl(u,v)*1e05"<br>"set lev 700"<br>"set t 1062"<br>"set gxout stream"<br>
"Set cthick 5"<br>"Set strmden 4"<br>"d u;v"<br>"run <a href="http://cbarn.gs">cbarn.gs</a>"<br>" draw title \ wind 700hPa-vorticity850hpa-080813-12h"<br><br>**************<br>
"set vpage 4 8 0.5 4"<br>**************************************************************************************<br>"set grads off"<br>"set lat 0 30"<br>"Set lon -30 20"<br>"set lev 850"<br>
"set t 1063"<br>"set gxout contour"<br>"set ccolor 4"<br>"set gxout shaded"<br>"d hcurl(u,v)*1e05"<br>"set lev 700"<br>"set t 1063"<br>"set gxout stream"<br>
"Set cthick 5"<br>"Set strmden 4"<br>"d u;v"<br>"run <a href="http://cbarn.gs">cbarn.gs</a>"<br>"draw title \ wind 700hPa-vorticity850hpa-090813-12h"<br>"set enable print fig"<br>
"print"<br>"set disable print"<br>"!gxeps -i fig -o vent-700hPa_20-240700.eps"<br>"!display fig.eps"<br><br><br><br>"printim vent-700hPa_vorticité850hpa-050813-090813-12h.png"<br>
<br><br><br><br><br><br><br></div>