[GRASS-user] r.colors rules

Hamish hamish_b at yahoo.com
Wed Dec 10 21:17:29 EST 2008


Alberto Pettazzi wrote:
> <div id=yiv711952157><!DOCTYPE html PUBLIC
> "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
>   
>   <title></title>
> </head>
>  
> <pre>What I would like to do is something like this:
> 
> <-4   255:255:255
> -4    0:0:0
> -3    1:1:1
> -2    2:2:2
> -1    3:3:3
>  0    4:4:4
> >0    255:255:255
> 
> I tried to do this way, but it doesn't seem to  be the
> right way
> 
> thank you again
> </pre>
> <div class="moz-signature">
>  
> <title></title>
> [...]
[a lot of html crap removed; please post in plain text!]


Do it like:
 0%    255:255:255
 -4    0:0:0
 -3    1:1:1
 -2    2:2:2
 -1    3:3:3
  0    4:4:4
100%   255:255:255


see the r.colors help page for more details.


Hamish



      



More information about the grass-user mailing list