Try it online (no install required) at gmt6demo.gmtpython.xyz
This demo was made to accompany the AGU Fall Meeting 2017 talk "The Generic Mapping Tools 6: Classic versus Modern Mode" by Paul Wessel.
The demo runs on a Jupyter notebook using %%bash
cells
and IPython.display.Image
to insert the generated plots in the notebook.
It is hosted by the free mybinder.org service.
To run it locally, you'll need the Anaconda Python distribution. After installing it, grab an archive of this repository and unzip it (or clone it to your machine). Inside the unzipped repository, run the following in your terminal:
conda env create
source activate gmt6demo
jupyter notebook
This should open you browser to the Jupyter notebook interface. Select
demo.ipynb
and run the code using Shift+Enter
.