[GRASSLIST:3222] Re: colors for d.his
Richard Greenwood
rich at greenwoodmap.com
Mon Apr 19 16:56:12 EDT 2004
Hamish wrote:
>>Could anyone provide hints for creating a nice color ramp for the map
>>used as the hue parameter of d.his suitable for representing an alpine
>>valley in which the lowest elevations would be green going to brown,
>>grey, and white for the highest elevations?
>
>
>
> see:
> http://intevation.de/rt/webrt?serial_num=2072
>
> thus,
>
> r.colors map=xxxx col=rules << EOF
> -11000 0 0 0
> -500 0 0 30
> -100 0 0 200
> -1 150 150 255
> 0 0 150 0
> 270 90 165 90
> 300 90 175 90
> 500 50 180 50
> 500 70 170 70
> 1000 70 145 75
> 1000 70 155 75
> 2000 150 156 100
> 2800 220 220 220
> 3000 255 255 255
> 8850 255 255 255
> nv 255 255 255
> EOF
>
>
> i.e. [elevation Red Green Blue]
>
> or for your suggested colors, use these rules:
>
> 0% green
> 33.3% brown
> 66.7% grey
> 100% white
>
>
> Hamish
Thank you for the prompt reply. After reading the documentation it
proves to be much easier than I was making it. I am embarrassed to have
posted such a trivial question.
Thanks for your help.
--
Richard Greenwood
www.greenwoodmap.com
More information about the grass-user
mailing list