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
Highlight country, continent and state polygons
Highlight country, continent and state polygons
Political Boundaries
Shorelines
Tile maps
Lines and vectors
Cartesian, circular, and geographic vectors
Cartesian, circular, and geographic vectors
Decorated lines
Envelope
Generate points along great circles
Generate points along great circles
Line colors with a custom CPT
Line fronts
Line styles
Quoted lines
Roads
Vector heads and tails
Wiggle along tracks
Symbols and markers
Basic geometric symbols
Bit and Hachure Patterns
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
Calculating grid gradient with custom azimuth and normalize parameters
Calculating grid gradient with custom azimuth and normalize parameters
Clipping grid values
Contours
Create 'wet-dry' mask grid
Cross-section along a transect
Cross-section along a transect
Images on figures
RGB Image
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
Blockmean
Histogram
Rose diagram
Scatter plot with 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
Timestamp