PyGMT

dev

Getting Started

  • Overview
  • Installing
  • Making your first figure

Examples

  • Gallery
    • Maps and map elements
      • Color land and water
      • Political Boundaries
      • Shorelines
    • Lines and vectors
      • Cartesian, circular, and geographic vectors
      • 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
      • Scatter plots with a legend
      • Text symbols
    • Images, contours, and fields
      • Calculating grid gradient and radiance
      • Clipping grid values
      • Contours
      • Create ‘wet-dry’ mask grid
      • Images on figures
      • Sampling along tracks
    • 3D Plots
      • 3D Scatter plots
      • Plotting a surface
    • Seismology and geodesy
      • Focal mechanisms
      • Velocity arrows and confidence ellipses
    • Base maps
      • Double Y axes graph
    • Histograms
      • Histogram
      • Rose diagram
    • Plot embellishments
      • Colorbar
      • Day-night terminator line and twilights
      • Inset
      • Inset map showing a rectangular region
      • Legend
      • Logo
      • Multiple colormaps
  • External Resources

User Guide

  • Frames, ticks, titles, and labels
  • Projections
  • Coastlines and borders
  • Setting the region
  • Plotting data points
  • Plotting lines
  • Plotting vectors
  • Plotting datetime charts
  • Plotting text
  • Creating a map with contour lines
  • Plotting Earth relief
  • Creating a 3D perspective image
  • Adding an inset to the figure
  • Making subplots
  • Configuring PyGMT defaults

Reference documentation

  • API Reference
  • Changelog

Development

  • Team Gallery
  • Contributors Guide
  • Maintainers Guide

Getting help and contributing

  • Code of Conduct
  • License
  • Contact
  • Source Code
PyGMT
  • »
  • Gallery
  • Improve this page

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

Color land and water

Political Boundaries

Political Boundaries

Shorelines

Shorelines

Lines and vectors

Cartesian, circular, and geographic vectors

Cartesian, circular, and geographic vectors

Line colors with a custom CPT

Line colors with a custom CPT

Line fronts

Line fronts

Line styles

Line styles

Roads

Roads

Vector heads and tails

Vector heads and tails

Wiggle along tracks

Wiggle along tracks

Symbols and markers

Basic geometric symbols

Basic geometric symbols

Color points by categories

Color points by categories

Custom symbols

Custom symbols

Datetime inputs

Datetime inputs

Multi-parameter symbols

Multi-parameter symbols

Points

Points

Points with varying transparency

Points with varying transparency

Scatter plots with a legend

Scatter plots with a legend

Text symbols

Text symbols

Images, contours, and fields

Calculating grid gradient and radiance

Calculating grid gradient and radiance

Clipping grid values

Clipping grid values

Contours

Contours

Create 'wet-dry' mask grid

Create ‘wet-dry’ mask grid

Images on figures

Images on figures

Sampling along tracks

Sampling along tracks

3D Plots

3D Scatter plots

3D Scatter plots

Plotting a surface

Plotting a surface

Seismology and geodesy

Focal mechanisms

Focal mechanisms

Velocity arrows and confidence ellipses

Velocity arrows and confidence ellipses

Base maps

Double Y axes graph

Double Y axes graph

Histograms

Histogram

Histogram

Rose diagram

Rose diagram

Plot embellishments

Colorbar

Colorbar

Day-night terminator line and twilights

Day-night terminator line and twilights

Inset

Inset

Inset map showing a rectangular region

Inset map showing a rectangular region

Legend

Legend

Logo

Logo

Multiple colormaps

Multiple colormaps

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2017-2021, The PyGMT Developers. Revision 3cde6d8. Last updated on Nov 06, 2021.

Built with Sphinx using a theme provided by Read the Docs

This website uses Google Analytics to gather usage statistics. However, it does not use cookies or track you across different websites. Page view data are used to help us improve the site and provide an estimate of the software usage.