<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Which grads version do you have? The problem may be on the 250:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">"<span style="font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">For GrADS version </span><span class="gmail-style1" style="color:rgb(153,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">2.0.a5 and earlier</span><span style="font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">, the </span><code style="background-color:rgb(224,240,255)"><i>color#</i></code><span style="font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)"> must be between 16 and 99 -- </span><a href="http://cola.gmu.edu/grads/gadoc/16colors.html" style="font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">0 to 15 are predefined</a><span style="font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">. </span></div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">For GrADS versions </span><span class="gmail-style1" style="color:rgb(153,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">2.0.a6</span><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)"> through </span><span class="gmail-style1" style="color:rgb(153,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">2.0.2</span><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">, the maximum number of colors increased from 99 to 255.</span><br style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><span style="font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">Starting with </span><span class="gmail-style1" style="color:rgb(153,0,0);font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">version 2.1</span><span style="font-family:"Times New Roman";font-size:medium;background-color:rgb(224,240,255)">, the maximum number of colors is 2047.</span>"</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-21 15:03 GMT+02:00 AMS EmsiWx Bytča <span dir="ltr"><<a href="mailto:emsiwx@pocasie-bytca.sk" target="_blank">emsiwx@pocasie-bytca.sk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Grads users,<br>
<br>
I am facing problem with changing the background color:<br>
<br>
function setmap(args)<br>
'set mproj latlon'<br>
*'set mpvals 5 30 40 58'<br>
'set lon 10.05 24'<br>
'set lat 45 54'<br>
'set mpdset newmap'<br>
<br>
<br>
'set rgb 250 0 136 162'<br>
*'set display color white'<br>
'set map 1 1 7'<br>
'set background 250'<br>
<br>
<br>
'c'<br>
'set grid off'<br>
'set grads off'<br>
<br>
<br>
I have set the color n.250 , however using any number in 'set background<br>
250' except 1, I always get black background.<br>
<br>
Am I doing something wrong?<br>
<br>
Thank you for your time and help.<br>
<br>
<br>
Marian<br>
<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</blockquote></div><br></div>