[gradsusr] Back ground color problem

David Nielsen davidnielsen at id.uff.br
Fri Jun 23 12:58:18 EDT 2017


Which grads version do you have? The problem may be on the 250:

"For GrADS version 2.0.a5 and earlier, the *color#* must be between 16 and
99 -- 0 to 15 are predefined <http://cola.gmu.edu/grads/gadoc/16colors.html>
.
For GrADS versions 2.0.a6 through 2.0.2, the maximum number of colors
increased from 99 to 255.
Starting with version 2.1, the maximum number of colors is 2047."

2017-06-21 15:03 GMT+02:00 AMS EmsiWx Bytča <emsiwx at pocasie-bytca.sk>:

> Dear Grads users,
>
> I am facing problem with changing the background color:
>
> function setmap(args)
> 'set mproj latlon'
> *'set mpvals 5 30 40 58'
> 'set lon 10.05 24'
> 'set lat 45 54'
> 'set mpdset newmap'
>
>
> 'set rgb 250 0 136 162'
> *'set display color white'
> 'set map 1 1 7'
> 'set background 250'
>
>
> 'c'
> 'set grid off'
> 'set grads off'
>
>
> I have set the color n.250 , however using any number in 'set background
> 250' except 1, I always get black background.
>
> Am I doing something wrong?
>
> Thank you for your time and help.
>
>
> Marian
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170623/11c088e7/attachment.html 


More information about the gradsusr mailing list