Dear Simon,<div><br></div><div>I could not locate the <a href="http://defcol1.gs">defcol1.gs</a>. I am sorry. Actually it was the same file as 'color' which comes with GrADS bundle. The only difference was I have defined more colors i.e. rgb for 81 - 89 & 91 - 99.</div>
<div><br></div><div>-rupak</div><div><br></div><div><br><div class="gmail_quote">On Tue, Aug 23, 2011 at 12:44 PM, Simon Krichak <span dir="ltr"><<a href="mailto:shimon@cyclone.tau.ac.il">shimon@cyclone.tau.ac.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Dear Rupak,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Could you kindly post also the <a href="http://defcol1.gs/" target="_blank"><font face="Times New Roman" size="3">defcol1.gs</font></a>.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Thanks,</font></div>
<div><font face="Arial" size="2">Simon Krichak</font></div><font color="#888888">
</font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px"><div><div></div><div class="h5">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="background:#e4e4e4;font:10pt arial"><b>From:</b>
<a title="rupak.rajbhandari@gmail.com" href="mailto:rupak.rajbhandari@gmail.com" target="_blank">Rupak Rajbhandari</a> </div>
<div style="font:10pt arial"><b>To:</b> <a title="gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org" target="_blank">GrADS Users Forum</a> </div>
<div style="font:10pt arial"><b>Sent:</b> Tuesday, August 23, 2011 9:40
AM</div>
<div style="font:10pt arial"><b>Subject:</b> Re: [gradsusr] set parea</div>
<div><br></div>
<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" target="_blank">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 <a href="tel:32%20%C2%A033%20%C2%A0%2042%20%C2%A0%2043%20%C2%A0%2051" value="+13233424351" target="_blank">32 33 42 43 51</a>
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" target="_blank">saeedbayat7276@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">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" target="_blank">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>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<br>gradsusr mailing
list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div>
<p></p></blockquote></div>
<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></div>