Skip to content

Commit 5864f60

Browse files
committed
added link to cpt-city with gmt
1 parent bfcc638 commit 5864f60

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Besides Python, the cmocean colormaps are also available for:
88
* For `MATLAB <http://www.mathworks.com/matlabcentral/fileexchange/57773-cmocean-perceptually-uniform-colormaps>`_ by `Chad Greene <http://www.chadagreene.com/>`_
99
* For R: `Oce <http://dankelley.github.io/oce/>`_ oceanographic analysis package by `Dan Kelley <http://www.dal.ca/faculty/science/oceanography/people/faculty/daniel-e-kelley.html>`_ and `Clark Richards <http://clarkrichards.org/>`_
1010
* For `Ocean Data Viewer <https://github.com/kthyng/cmocean-odv>`_
11-
* For `Generic Mapping Tools (GMT) <https://github.com/kthyng/cmocean-gmt>`_
11+
* For Generic Mapping Tools (GMT) at `cpt-city <http://soliton.vm.bytemark.co.uk/pub/cpt-city/cmocean/index.html>`_ and on `github <https://github.com/kthyng/cmocean-gmt>`_
1212
* For `Paraview <https://github.com/kthyng/cmocean-paraview>`_, inspired by `Phillip Wolfram <https://github.com/pwolfram>`_.
1313
* In `Plotly <https://plot.ly/python/cmocean-colorscales/>`_
1414
* Chad Greene's `Antartic Mapping Tools <http://www.mathworks.com/matlabcentral/fileexchange/47638-antarctic-mapping-tools>`_ in Matlab uses cmocean

docs/source/index.rst

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ algae
165165

166166
The *algae* colormap is sequential with whitish-green for low values and increasing in green with increasing value, which could be used to represent an increase in chlorophyll in the water. Two examples of this colormap are shown below, from Texas A&M University gliders. This colormap is based on matplotlib's Greens, but was recreated from scratch using the viscm tool.
167167

168-
.. image:: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_540/plots/sci_flbbcd_chlor_units.png
169-
:target: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_540/plots/sci_flbbcd_chlor_units.png
170168
.. image:: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_541/plots/sci_flbbcd_chlor_units.png
171169
:target: http://gcoos2.tamu.edu/gandalf_data/deployments/tamu/unit_541/plots/sci_flbbcd_chlor_units.png
172170

@@ -210,17 +208,10 @@ amp
210208

211209
The *amp* colormap is sequential from whitish to dark red and could be used to represent an increase in wave height values. This colormap is the positive half of the *balance* colormap.
212210

213-
.. plot::
214-
:include-source:
215-
216-
import cmocean
217-
import matplotlib.pyplot as plt
211+
.. figure:: https://cloud.githubusercontent.com/assets/3487237/16920916/840d91d4-4cdd-11e6-8db5-f93cd61b78c2.png
212+
:target: http://soliton.vm.bytemark.co.uk/pub/cpt-city/
218213

219-
fig = plt.figure(figsize=(8, 3))
220-
ax = fig.add_subplot(1, 2, 1)
221-
cmocean.plots.test(cmocean.cm.amp, ax=ax)
222-
ax = fig.add_subplot(1, 2, 2)
223-
cmocean.plots.quick_plot(cmocean.cm.amp, ax=ax)
214+
Earthquake magnitude, by `Natalie Accardo <http://www.natalieaccardo.com/>`_ using GMT.
224215

225216
tempo
226217
^^^^^
@@ -368,7 +359,7 @@ cmocean available elsewhere!
368359
* For `MATLAB <http://www.mathworks.com/matlabcentral/fileexchange/57773-cmocean-perceptually-uniform-colormaps>`_ by `Chad Greene <http://www.chadagreene.com/>`_
369360
* For R: `Oce <http://dankelley.github.io/oce/>`_ oceanographic analysis package by `Dan Kelley <http://www.dal.ca/faculty/science/oceanography/people/faculty/daniel-e-kelley.html>`_ and `Clark Richards <http://clarkrichards.org/>`_
370361
* For `Ocean Data Viewer <https://github.com/kthyng/cmocean-odv>`_
371-
* For `Generic Mapping Tools (GMT) <https://github.com/kthyng/cmocean-gmt>`_
362+
* For Generic Mapping Tools (GMT) at `cpt-city <http://soliton.vm.bytemark.co.uk/pub/cpt-city/cmocean/index.html>`_ and on `github <https://github.com/kthyng/cmocean-gmt>`_
372363
* For `Paraview <https://github.com/kthyng/cmocean-paraview>`_, inspired by `Phillip Wolfram <https://github.com/pwolfram>`_.
373364
* In `Plotly <https://plot.ly/python/cmocean-colorscales/>`_
374365
* Chad Greene's `Antartic Mapping Tools <http://www.mathworks.com/matlabcentral/fileexchange/47638-antarctic-mapping-tools>`_ in Matlab uses cmocean

0 commit comments

Comments
 (0)