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
      • Vector heads and tails
      • Wiggle along tracks
    • Symbols and markers
      • Basic geometric symbols
      • Color points by categories
      • Datetime inputs
      • Multi-parameter symbols
      • Points
      • Points with varying transparency
      • Scatter plots with a legend
    • Images, contours, and fields
      • 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
  • 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
  • Maintainers Guide

Getting help and contributing

  • 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¶

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¶

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¶

Images, contours, and fields¶

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¶

Gallery generated by Sphinx-Gallery

Next Previous

© Copyright 2017-2021, The PyGMT Developers. Revision 20af27d. Last updated on Jun 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.