[GRASS-dev] [GRASS GIS] #3043: Change default color table
GRASS GIS
trac at osgeo.org
Thu Jun 23 20:25:26 PDT 2016
#3043: Change default color table
--------------------------+---------------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: blocker | Milestone: 7.2.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.colors, d.rast, rainbow
CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Comment (by wenzeslaus):
Replying to [comment:23 vincent]:
> {{{r.colors.matplotlib}}} does not provide exact percent values (did I
miss something?).
Well, it provides exactly the values which are on the input only converted
to percents. If you provide it with 256 steps, it will give you that. To
have all whole percents from 0 to 100, you would need to give it 101
values (speaking about the current (and simple) implementation of the file
input). In other words, it does not produce files which are nice to look
at by human but the library function does not care. It is worth noting
that both 101 and 256 colors (steps) are arbitrary choices and I don't
know how to determine sufficient number of steps for a color table.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3043#comment:26>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list