[GRASS-dev] [GRASS GIS] #3371: Perceptual color tables
GRASS GIS
trac at osgeo.org
Mon Jun 11 20:47:01 PDT 2018
#3371: Perceptual color tables
-------------------------+-------------------------------------------------
Reporter: baharmon | Owner: grass-dev@…
Type: | Status: new
enhancement |
Priority: normal | Milestone: 7.6.0
Component: Default | Version: svn-trunk
Resolution: | Keywords: r.colors, v.colors, inferno, magma,
CPU: | plasma
Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Comment (by pierreroudier):
Those palettes all share the same core characteristics: colorful,
perceptually uniform, and robust to colorblindness.
In my view, I like to switch between these depending on the data I am
representing -- for example I tend to prefer `magma` or `inferno` to
`viridis` to represent say temperature. I've found it useful to have
access to those different palettes and adapt to the context -- or
sometimes it might just boil down to personal preferences I suppose (how
does one use `magma` and not think of Dr. Evil in Austin Powers??).
More background/illustrations of those palettes:
https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-
viridis.html#the-color-scales
Suggested comments:
For inferno:
{{{
# perceptually uniform and sequential
# contains black, red and yellow
# color table developed for Matplotlib (default in 2.0)
# license of the original data: CC0
# original authors: Nathaniel J. Smith, Stefan van der Walt, Eric Firing
# created from cpt-city mpl inferno (r.cpt2grass -s)
}}}
For magma:
{{{
# perceptually uniform and sequential
# contains pale yellow, purple and black
# color table developed for Matplotlib (default in 2.0)
# license of the original data: CC0
# original authors: Nathaniel J. Smith, Stefan van der Walt, Eric Firing
# created from cpt-city mpl inferno (r.cpt2grass -s)
}}}
For plasma:
{{{
# perceptually uniform and sequential
# contains blue, pink and yellow
# color table developed for Matplotlib (default in 2.0)
# license of the original data: CC0
# original authors: Nathaniel J. Smith, Stefan van der Walt, Eric Firing
# created from cpt-city mpl inferno (r.cpt2grass -s)
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3371#comment:5>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list