I have a raster map in GRASS containing elevation values. I want to display the elevation values in only one color (specificaly blue) but in varying shades of blue. I tried the options in r.colors, but none of those displays the map in monochrome.
In GRASS shell type:
> r.colors map=elevation color=rules
> 0 white
> [your maximum elevation value] blue
#!/bin/sh r.colors map=raster_bulacanOriginal2 color=rules 0 white 300 blue end
#!/bin/sh echo -e '0 white\n300 blue' | r.colors map=<mapname> color=rules rules=-
r.colors map=<mapname> color=rules rules=<rulesfile>
ERROR: bad rule (invalid color name): [-25 #00FFFF]
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago
Get the weekly newsletter!
see an example newsletter