Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
# COLOR_MODEL = RGB value1 R G B value2 R G B value2 R G B value3 R G B ...Named colors are not supported.
r.cpt2grass input=rainfall.cpt
0.000 229:180:44 20.000 229:180:44 20.000 242:180:100 40.000 242:180:100 40.000 243:233:119 60.000 243:233:119 60.000 145:206:126 80.000 145:206:126 80.000 67:190:135 100.000 67:190:135 100.000 52:180:133 120.000 52:180:133 120.000 6:155:66 140.000 6:155:66We set two different elevation color tables - continuous and discrete gradients. We have to stretch the color tables to fit the raster map range:
r.cpt2grass url=http://soliton.vm.bytemark.co.uk/pub/cpt-city/td/DEM_screen.cpt map=elevation -s r.cpt2grass url=http://soliton.vm.bytemark.co.uk/pub/cpt-city/cb/seq/YlOrBr_09.cpt map=elevation -s
d.legend raster=elevation labelnum=10 at=5,50,7,10
Available at: r.cpt2grass source code (history)
Latest change: Monday Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 7.8.9dev Reference Manual