This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""GMT tutorial using GMT.jl | |
1. In the Julia shell, do `]add GMT` | |
2. Download GSHHG data: <http://www.soest.hawaii.edu/wessel/gshhg/> | |
3. Unpack GSHHG data to a predictable directory | |
4. Create the `.gmt` folder in your HOME directory | |
5. In the command line shell, run `gmt defaults -Ds > .gmt/gmt.conf` | |
6. Change the assignment of `DIR_GSHHG` to point to the directory from step 3 | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Color wheel for matplotlib plots.""" | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from mpl_toolkits.axes_grid1 import inset_locator | |
def add_cwheel(ax_parent, rect, label, cmap=None, half=True, nticks=4): | |
"""Add color wheel to a matplotlib axes. |
NewerOlder