Gallery
This gallery contains examples of what PyGMT can do. Click on any example to see the code used to generate it.
Maps and map elements
Color land and water
Political Boundaries
Shorelines
Lines and vectors
Cartesian, circular, and geographic vectors
Cartesian, circular, and geographic vectors
Generate points along great circles
Generate points along great circles
Line colors with a custom CPT
Line fronts
Line styles
Roads
Vector heads and tails
Wiggle along tracks
Symbols and markers
Basic geometric symbols
Color points by categories
Custom symbols
Datetime inputs
Multi-parameter symbols
Points
Points with varying transparency
Points with varying transparency
Scatter plots with a legend
Text symbols
Vertical or horizontal bars
Images, contours, and fields
Calculating grid gradient and radiance
Calculating grid gradient and radiance
Clipping grid values
Contours
Create 'wet-dry' mask grid
Images on figures
Sampling along tracks
3D Plots
3-D Scatter plots
Plotting a surface
Seismology and geodesy
Focal mechanisms
Velocity arrows and confidence ellipses
Velocity arrows and confidence ellipses
Base maps
Double Y axes graph
Ternary diagram
Histograms
Plot embellishments
Colorbar
Day-night terminator line and twilights
Day-night terminator line and twilights
Inset
Inset map showing a rectangular region
Inset map showing a rectangular region
Legend
Logo
Multiple colormaps