8000 New Colormaps to docs by mdboom · Pull Request #5284 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

New Colormaps to docs #5284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 21, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting only
  • Loading branch information
mdboom committed Oct 20, 2015
commit db403c3a572872169e870e37ad0daeb94e5e9da6
22 changes: 18 additions & 4 deletions doc/users/colormaps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ colorspace for your data set. The best colormap for any given data set depends
on many things including:

- Whether representing form or metric data ([Ware]_)
- Your knowledge of the data set (*e.g.*, is there a critical value from which the other values deviate?)

- Your knowledge of the data set (*e.g.*, is there a critical value
from which the other values deviate?)

- If there is an intuitive color scheme for the parameter you are plotting

- If there is a standard in the field the audience may be expecting

For many applications, a perceptually uniform colormap is the best
Expand All @@ -41,9 +45,19 @@ Classes of colormaps
Colormaps are often split into several categories based on their function (see,
*e.g.*, [Moreland]_):

1. Sequential: change in lightness and often saturation of color incrementally, often using a single hue; should be used for representing information that has ordering.
2. Diverging: change in lightness and possibly saturation of two different colors that meet in the middle at an unsaturated color; should be used when the information being plotted has a critical middle value, such as topography or when the data deviates around zero.
3. Qualitative: often are miscellaneous colors; should be used to represent information which does not have ordering or relationships.
1. Sequential: change in lightness and often saturation of color
incrementally, often using a single hue; should be used for
representing information that has ordering.

2. Diverging: change in lightness and possibly saturation of two
different colors that meet in the middle at an unsaturated color;
should be used when the information being plotted has a critical
middle value, such as topography or when the data deviates around
zero.

3. Qualitative: often are miscellaneous colors; should be used to
represent information which does not have ordering or
relationships.


Lightness of matplotlib colormaps
Expand Down
0