Skip to content

Commit beadcb8

Browse files
committed
added new colormap examples and note about new version
1 parent e0d6f07 commit beadcb8

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

docs/source/index.rst

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Beautiful colormaps for oceanography: `cmocean <http://github.com/matplotlib/cmo
99
This package contains colormaps for commonly-used oceanographic variables. Most of the colormaps started from `matplotlib <http://matplotlib.org/>`_ colormaps, but have now been adjusted using the `viscm tool <https://github.com/BIDS/viscm>`_ to be `perceptually uniform <http://bids.github.io/colormap/>`_.
1010

1111

12+
.. note:: This is a new version of `cmocean` with four new colormaps!
13+
14+
1215
.. note:: We have a paper with guidelines to colormap selection for your application and a description of the `cmocean` colormaps:
1316

1417
Thyng, K. M., Greene, C. A., Hetland, R. D., Zimmerle, H. M., & DiMarco, S. F. (2016). True colors of oceanography. Oceanography, 29(3), 10.
@@ -539,6 +542,18 @@ The *tempo* colormap is sequential from whitish to dark teal and could be used t
539542
Estimated nitrate in San Francisco Bay by Rusty Holleman.
540543

541544

545+
rain
546+
^^^^
547+
548+
The *rain* colormap is sequential from light, dry colors to blue, wet colors, and could be used to plot amounts of rainfall.
549+
550+
551+
.. figure:: https://user-images.githubusercontent.com/3487237/51001559-092d8800-14f6-11e9-93d4-57379b4c7701.png
552+
:target: https://user-images.githubusercontent.com/3487237/51001559-092d8800-14f6-11e9-93d4-57379b4c7701.png
553+
554+
Rainfall, by Chad Greene.
555+
556+
542557
phase
543558
^^^^^
544559

@@ -549,6 +564,18 @@ The *phase* colormap is circular, spanning all hues at a set lightness value. Th
549564
Tidal phase in the North Atlantic ocean, by Kristen Thyng.
550565

551566

567+
topo
568+
^^^^
569+
570+
The *topo* colormap has two distinct parts: one that is shades of blue and yellow to represent water depths (this is the *deep* colormap) and one that is shades of browns and greens to represent land elevation.
571+
572+
573+
.. figure:: https://user-images.githubusercontent.com/3487237/51001557-0894f180-14f6-11e9-9f8e-94fc0ffcfe11.png
574+
:target: https://user-images.githubusercontent.com/3487237/51001557-0894f180-14f6-11e9-9f8e-94fc0ffcfe11.png
575+
576+
Bathymetry and topography, by Chad Greene.
577+
578+
552579
balance
553580
^^^^^^^
554581

@@ -581,17 +608,44 @@ The *delta* colormap is diverging from darker blues to just off-white through sh
581608
curl
582609
^^^^
583610

584-
The *curl* colormap is diverging from darker teal to just off-white through shades of magenta and could be used to represent diverging vorticity values around a critical value (usually zero). An example of this colormap is from a numerical simulation of the Texas and Louisiana shelf.
611+
The *curl* colormap is diverging from darker teal to just off-white through shades of magenta and could be used to represent diverging vorticity values around a critical value (usually zero).
585612

586613
.. figure:: http://pong.tamu.edu/~kthyng/movies/txla_plots/vort/2010-07-30T00.png
587614
:target: http://pong.tamu.edu/~kthyng/movies/txla_plots/vort/2010.mp4
588615

616+
An example of this colormap is from a numerical simulation of the Texas and Louisiana shelf.
617+
589618

590619
.. figure:: https://pbs.twimg.com/media/CuqlwdJWIAA1wT1.jpg
591620
:target: https://plot.ly/~empet/13557/cmoceanvorticity-colorscale
592621

593622
Julia Set fractal in `plotly <https://plot.ly/>`_
594623

624+
625+
diff
626+
^^^^
627+
628+
The *diff* colormap is diverging, with one side shades of blues and one side shades of browns.
629+
630+
631+
.. figure:: https://user-images.githubusercontent.com/3487237/51001561-092d8800-14f6-11e9-868b-009e947ed5eb.png
632+
:target: https://user-images.githubusercontent.com/3487237/51001561-092d8800-14f6-11e9-868b-009e947ed5eb.png
633+
634+
Surface pressure anomaly for December 2017, by Chad Greene.
635+
636+
637+
tarn
638+
^^^^
639+
640+
The *tarn* colormap is diverging, with one side dry shades of browns and the other a range of greens and blues. The positive end of the colormap is meant to reflect the colors in *rain* and thus be a complementary colormap to *rain* for rain anomaly (around 0 or some other critical value).
641+
642+
643+
.. figure:: https://user-images.githubusercontent.com/3487237/51001558-0894f180-14f6-11e9-91e1-3ef9e28fcc81.png
644+
:target: https://user-images.githubusercontent.com/3487237/51001558-0894f180-14f6-11e9-91e1-3ef9e28fcc81.png
645+
646+
Rain anomaly, by Chad Greene.
647+
648+
595649
Resources
596650
---------
597651

0 commit comments

Comments
 (0)