Note
Click here to download the full example code
Hammer projectionΒΆ
H[central meridian]/width
: Give the optional central meridian (default is 180)
and the map width.
Out:
<IPython.core.display.Image object>
import pygmt
fig = pygmt.Figure()
# Use region "g" to specify global region
fig.coast(region="g", projection="H12c", land="black", water="cornsilk", frame="afg")
fig.show()
fig = pygmt.Figure()
# Add the optional central meridian argument (in this example, 0 degrees latitude)
fig.coast(region="g", projection="H0/12c", land="black", water="cornsilk", frame="afg")
fig.show()
Total running time of the script: ( 0 minutes 1.252 seconds)