Please have a look at the r.colors manual page for further informations.
g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3 r.mapcalc --o expr="prec_1 = 100" r.mapcalc --o expr="prec_2 = 200" r.mapcalc --o expr="prec_3 = 300" r.mapcalc --o expr="prec_4 = 400" r.mapcalc --o expr="prec_5 = 500" r.mapcalc --o expr="prec_6 = 600" t.create --o type=strds temporaltype=absolute \ output=precip_abs title="Color setting example" \ descr="Color setting example" t.register type=rast input=precip_abs \ maps=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 \ start="2001-01-01" increment="1 months" # Grey color table for the full range 100 - 600 t.rast.colors input=precip_abs color=grey.eq r.colors.out map=prec_1 100 21:21:21 199 21:21:21 200 64:64:64 299 64:64:64 300 106:106:106 399 106:106:106 400 149:149:149 499 149:149:149 500 192:192:192 599 192:192:192 600 234:234:234 nv 255:255:255 default 255:255:255
Last changed: $Date$