[GRASS-user] v.colors: color rules

   Examples of rules with the v.colors module show single digits and
percentages. Will the module read a file that has a range of values to which
a color is assigned?

   rules.txt:
1-10 231:00:00
11-20 89:00:00
21-30 231:00:231
31-40 231:173:00
41-50 231:115:00
51-60 00:231:57
61-70 115:231:00
END

TIA,

Rich

On 06/11/18 17:10, Rich Shepard wrote:

    Examples of rules with the v.colors module show single digits and
percentages. Will the module read a file that has a range of values to which
a color is assigned?

    rules.txt:
1-10 231:00:00
11-20 89:00:00
21-30 231:00:231
31-40 231:173:00
41-50 231:115:00
51-60 00:231:57
61-70 115:231:00
END

No. Please read the r.colors man page for an explanation of the rules.

If you want 1 - 10 in the same color, you have to do this:

1 231:00:00
10 231:00:00
11 89:00:00
20 89:00:00
etc

Moritz

On Tue, 6 Nov 2018, Moritz Lennert wrote:

No. Please read the r.colors man page for an explanation of the rules.

Moritz,

   I must have missed the implications when I read them.

If you want 1 - 10 in the same color, you have to do this:

1 231:00:00
10 231:00:00
11 89:00:00
20 89:00:00
etc

   Thank you.

Regards,

Rich