[GRASSLIST:5807] Re: Easily generating colourtables
Ian MacMillan
ian_macmillan at umail.ucsb.edu
Wed Feb 16 11:38:37 EST 2005
Jose, I am not sure if this is what you want, but you can set the
colors with r.colors
If you have three rasters with ranges from 0-100, 25-125, 50-150, then
run something like
r.colors color=rules map=map1
0 white
100 black
end
r.colors color=rules map=map2
25 white
125 black
end
etc.
This might do what you are looking for. I am not sure if this is what
you want though. For my data, this might be deceiving to the viewer,
but mebbe that is what you want ;)
-Ian
On Feb 16, 2005, at 7:14 AM, Jose Luis Gomez-Dans wrote:
> Hi!
> I want to plot three raster images side by side. They cover the same
> area, and are just to point out any obvious differences. In order to do
> that, the colourtables used needs to be identical. In GRASS, these are
> automatically calculated from the span of the data, and in my case,
> this is slightly different. I would like to set the limits of the
> colourtable to be the same.
> Is there an easy way to do this in GRASS, or do I have to modify the
> rastersthemselves with r.mapcalc (groan :D)?
>
> Thanks!
> José
> --
> Jose L Gomez-Dans, Research Assistant
> Bristol Glaciology Centre, Geographical Sciences/CPOM
> University of Bristol, Bristol, UK
>
More information about the grass-user
mailing list