git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35822 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -63,7 +63,6 @@
#% type: string
#% key_desc: style
#% options: aspect,aspectcolr,bcyr,bgyr,byg,byr,celsius,curvature,differences,elevation,etopo2,evi,grey,grey1.0,grey255,gyr,ndvi,population,precipitation,rainbow,ramp,ryb,ryg,sepia,slope,srtm,terrain,wave,random
-#% answer: bcyr
#% description: Type of color table
#% required: no
#% guisection: Colors
@@ -57,6 +57,22 @@ d.mon x0
d.vect -a tin
</pre></div>
+<p>
+Colorizing the roads map in Spearfish:
+<div class="code"><pre>
+g.copy vect=roads,myroads
+echo "1 red
+2 green
+3 blue
+4 orange
+5 purple" > colors.txt
+
+v.colors myroads column=cat rules=colors.txt
+# display colorized roads map
+d.mon x0
+d.vect -a myroads
+</pre></div>
<H2>SEE ALSO</H2>