Skip to content

Instantly share code, notes, and snippets.

@jsta
Created December 15, 2021 22:01
Show Gist options
  • Save jsta/bc34eafbf6311a35fc067ed03337b9cb to your computer and use it in GitHub Desktop.
Save jsta/bc34eafbf6311a35fc067ed03337b9cb to your computer and use it in GitHub Desktop.
Plot USA CONUS using pygmt - Generic Mapping Tools
import pygmt
fig = pygmt.Figure()
fig.coast(region="-122/23/-65/48r", frame=False, land="#666666", water="skyblue", projection="A-100/30/4.5i")
# fig.show()
fig.savefig("usa.pdf")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment