<div>Hi,</div><div><br></div><div>I am pasting a script to print four maps which I tested some time ago. With some modification, I think you can come up with the one you explained. Except in your case you need three rows and in the bottom row display the map with out displaying anything (set cmax/cmin) and display the cbar. Hope it works.</div>
<div><br></div><div>Rupak Rajbhandari</div><div>Department of Meteorology</div><div>Trichandra Campus</div><div>Kathmandu</div><div><br></div><div>**********************************************************************************</div>
<div>* test vpage</div><div>*</div><div>* Landscape</div><div>*</div><div>* Matrix = 2 is 2 x 2</div><div>* Matrix = 3 is 3 x 3</div><div>* Matrix = 4 is 4 x 4</div><div>*</div><div>* for matrix 3 or 4 little modification is needed.</div>
<div>*</div><div> matrix=2</div><div><br></div><div>'reinit'</div><div>'open D:\gridded\npl0p10\RF0P10.ctl'</div><div>'set gxout grfill'</div><div>'set mpdset hires'</div><div>'run <a href="http://defcol1.gs">defcol1.gs</a>'</div>
<div>*'set vpage off'</div><div>*'set parea off'</div><div>*'set clevs 2 4 6 8 10 15 20 30 40 50 100 500'</div><div>*'set ccols 31 32 33 42 43 51 52 53 62 63 72 73'</div>
<div><br></div><div>* margins</div><div>*</div><div> rm=0.75; lm=0.75; tm=0.5; bm=0.5</div><div><br></div><div>* virtual page limits</div><div>*</div><div> x1=00.0</div><div> x2=11.0</div><div> y1=00.0</div>
<div> y2=08.5</div><div><br></div><div> nc=matrix</div><div> nr=matrix</div><div><br></div><div>* spliting factor</div><div>*</div><div> xext=(x2-x1)/nc</div><div> yext=(y2-y1)/nr</div><div> xm=x2-rm/2</div>
<div><br></div><div>say x1' ' x2' ' y1' ' y2' ' xext' ' yext</div><div>say ' '</div><div><br></div><div> t1=01</div><div> t2=10</div><div> jy=1</div><div> vy1=y1</div>
<div> vy2=vy1+yext</div><div> while (jy<=nr)</div><div> ix=1</div><div> vx1=x1</div><div> vx2=vx1+xext</div><div> while (ix<=nc)</div><div> 'set vpage 'vx1' 'vx2' 'vy1' 'vy2</div>
<div> 'set parea 'x1+lm' 'x2-rm' 'y1+bm' 'y2-tm</div><div>* 'set clevs .1 2 3 5 10 15 20 30 40 50 100 150'</div><div>* 'set ccols 31 32 33 42 43 51 52 53 62 63 72 73'</div>
<div> 'set font 'ix</div><div> 'set string 'ix+2' tc'</div><div> 'display sum(rf,t='t1',t='t2')'</div><div> 'draw title Rainfall amount for 't1' to 't2' days (mm)'</div>
<div> if (ix=nc)</div><div> if (jy=nr)</div><div> 'cbarn '1' '1' 'xm' 'y1</div><div> else</div><div> 'cbarn '1' '1' 'xm' 'y2</div>
<div> endif</div><div> endif</div><div> t1=t1+10</div><div> t2=t2+10</div><div> vx1=vx2</div><div> vx2=vx2+xext</div><div> ix=ix+1</div><div> 'set vpage off'</div>
<div> 'set parea off'</div><div> endwhile</div><div> vy1=vy2</div><div> vy2=vy1+yext</div><div> jy=jy+1</div><div> endwhile</div><div><br></div><br><div class="gmail_quote">On Mon, Aug 22, 2011 at 9:59 PM, saeed bayat <span dir="ltr"><<a href="mailto:saeedbayat7276@gmail.com">saeedbayat7276@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear GrADS users,<br>I want to plot 4 maps in 1 page. As mentioned in GrADS documentation index, I do that steps but it did not<br>
give a good result. I want to do like this(below), but it does not work!<br><br>Please give me an Idea<br>
<br>Best Regards<br><font color="#888888"><br>Saeed Bayat<br>M.A Student of Climatology<br>Department of Geography<br>Ferdowsi University of Mashhad(Iran)<br>
</font><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></blockquote></div><br>