color for 0

Hi there!

I'd like that, by default, the 0 (that is, no data) category
was represented as black and not as white. How can I do this
without having to mess with each raster?

Thanks,

Agus

--------------------------
color for 0
--------------------------

Hello Agus,

If I understood your message you could resolve your problem using the following script called, for example, d.rast0:

---------------------------------------------
d.rast -o map=$1
---------------------------------------------

Type: d.rast0 {map name}

-------------------------------------------------
Juan M. Ruiz
Centro de Estudios Hidrograficos (CEDEX)
Paseo Bajo de la Virgen del Puerto 3, planta 3
28005 Madrid, SPAIN

Telephone: 335.79.51
Fax: 335.79.22
e-mail: jruiz@gea.cedex.es
-------------------------------------------------