<div>hello</div>
<div> oh my god<br>very very thanks. </div>
<div>fine thanks.</div>
<div> </div>
<div class="gmail_quote">heOn Mon, Aug 10, 2009 at 5:23 PM, Jennifer Adams <span dir="ltr"><<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word"><br>
<div>
<div class="im">
<div>On Aug 10, 2009, at 3:55 AM, Jennifer Faber wrote:</div><br>
<blockquote type="cite"><span style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate">
<div style="WORD-WRAP: break-word" bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi Jennifer</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I was wondering if you and your team are considering adding a feature fto GrADS to colour station value according to their value.</font></div>
<div><font face="Arial" size="2">Until so far there was been no good solution to my problem.</font></div></div></span></blockquote>
<div><br></div></div>
<div>Here is a script fragment I composed, followed by the image output. I think this is what you are trying to do...</div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"><br></span></font></div>
<div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">'set lat 22 55'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">'set lon -130 -60'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">var = 'ts'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">levs = '-15 -10 -5 0 5 10 15'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">cols = '9 4 5 3 7 8 2 6'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">ncols=8</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">c=1</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">while (c<=ncols)</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> col=subwrd(cols,c)</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> maxlev=subwrd(levs,c)</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> if (c>1)</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> minlev=subwrd(levs,c-1)</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> endif</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> 'set ccolor 'col</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> 'set gxout value'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> 'set stat on'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> if (c=1)</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> belowmax='(maskout('var',('maxlev'-0.0001)-'var'))'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> 'd 'belowmax</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> else</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> minandabove='(maskout('var','var'-('minlev')))'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> if (c=ncols)</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> 'd 'minandabove</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> else</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> belowmax='maskout('minandabove',('maxlev'-0.0001)-'minandabove')'</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> 'd 'belowmax</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> endif</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> endif </span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px"> c=c+1</span></font></div>
<div><font face="Courier" size="4"><span style="FONT-SIZE: 14px">endwhile</span></font></div>
<div><br></div>
<div><br></div>
<div><img height="600" src="cid:2163CD7A-3537-469E-BFAE-267EFA367B3C" width="804"></div></div></div></div></blockquote></div><br>