<div dir="ltr">When you use 'set clevs' and 'set ccols' to create a custom color table, the number of entries in 'set ccols' needs to be one more than the number of entries in 'set clevs'. You have 7 contour values in your 'set clevs' command and 9 values in your 'set ccols' command. You should notice the lack of color between 0 and +0.5 rather than between -0.5 and +0.5. The first value in the 'set ccols' entry will correspond to the color for all values below the lowest contour value specified in the 'set clevs' command.<br>
<br>Jeff Duda<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 11:40 AM, Ahmed Abdelkarim <span dir="ltr"><<a href="mailto:ahmed.akarim2010@gmail.com" target="_blank">ahmed.akarim2010@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 Grade user<br>
<br>
Good eveing<br>
<br>
<br>
I have a problem with the colors shading to local a zero between -0.5 and +0.5<br>
<br>
I was using it from the grads web site<br>
<br>
Please could you assiste me to resolve this<br>
<br>
<br>
<br>
** And we can plot....<br>
'set gxout shaded'<br>
'set rgb 16 0 0 255'<br>
'set rgb 17 55 55 255'<br>
'set rgb 18 110 110 255'<br>
'set rgb 19 165 165 255'<br>
'set rgb 20 220 220 255'<br>
<br>
* These are the RED shades<br>
'set rgb 21 255 220 220'<br>
'set rgb 22 255 165 165'<br>
'set rgb 23 255 110 110'<br>
'set rgb 24 255 55 55'<br>
'set rgb 25 255 0 0'<br>
<br>
*******************************************************************<br>
<br>
'set clevs -2 -1 -0.5 0 0.5 1 2 '<br>
'set ccols 17 18 19 20 0 21 22 23 24 '<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
* Ahmed Mohamed Abdelkarim<br>
PhD in Meteorology<br>
Commutation & IT manager<br>
Sudan Meteorological Authority (SMA)<br>
Khartoum - Sudan - PO. Box 574<br>
<br>
*<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>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>