<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_1_1445250909914_20268"><span id="yui_3_16_0_1_1445250909914_20267">This query is in continuation to the previous ones in which I am trying to plot a rainfall range in one color and the 2nd range with another color. the same that I have posted too. <br></span></div><div dir="ltr" id="yui_3_16_0_1_1445250909914_20289">Now I just tried with <br></div><div dir="ltr">following changes in my script. <br></div><div dir="ltr">do n = 0, nrf-1<br class="" id="yui_3_16_0_1_1445250909914_20385"> 101 if ((rf(n).ge.0.1).and.(rf(n).lt.2.5)) then <br class="" id="yui_3_16_0_1_1445250909914_20387"> 102 txres@txFontColor = 2 ; RHS should be an integer<br class="" id="yui_3_16_0_1_1445250909914_20389"> 103 ; <br class="" id="yui_3_16_0_1_1445250909914_20391"> 104 else if ((rf(n).ge.2.5).and.(rf(n).lt.7.5)) then<br class="" id="yui_3_16_0_1_1445250909914_20393"> 105 txres@txFontColor = 9 ; RHS should be an integer<br class="" id="yui_3_16_0_1_1445250909914_20395"> 106 <br class="" id="yui_3_16_0_1_1445250909914_20397"> 107 else if ((rf(n).ge.7.5).and.(rf(n).lt.15.5)) then<br class="" id="yui_3_16_0_1_1445250909914_20399"> 108 txres@txFontColor = 13 ; RHS should be an integer<br class="" id="yui_3_16_0_1_1445250909914_20401"> 109 <br class="" id="yui_3_16_0_1_1445250909914_20403"> 110 end if<br class="" id="yui_3_16_0_1_1445250909914_20405"> 111 end if<br class="" id="yui_3_16_0_1_1445250909914_20407"> 112 end if <br class="" id="yui_3_16_0_1_1445250909914_20409"><br class="" id="yui_3_16_0_1_1445250909914_20425"> 121 text(n) = gsn_add_text(wks,plot," "+sprintf("%9.4g",rf(n)),lon(n),lat(n),txres)<br class="" id="yui_3_16_0_1_1445250909914_20427"> 122 end do<br class="" id="yui_3_16_0_1_1445250909914_20429"></div><div id="yui_3_16_0_1_1445250909914_20551" dir="ltr">but unable to do so. pls suggest<br></div><div id="yui_3_16_0_1_1445250909914_20550" dir="ltr">I am attaching my script too.<br><span id="yui_3_16_0_1_1445250909914_20267"></span></div><div id="yui_3_16_0_1_1445250909914_20326"><span id="yui_3_16_0_1_1445250909914_20267"></span></div><div id="yui_3_16_0_1_1445250909914_20030"> </div><div id="yui_3_16_0_1_1445250909914_19995" class="signature">Geeta.</div></div></body></html>