PyGMT

dev

Getting Started

  • Overview
  • Installing
  • Making your first figure
  • 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
    • Symbols and markers
      • 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
    • Base maps
      • Double Y axes graph
    • Plot embellishments
      • Colorbar
      • Inset
      • Inset map showing a rectangular region
      • Legend
      • Logo

User Guide

  • Frames, ticks, titles, and labels
  • Projections
  • Coastlines and borders
  • Set the region
  • Plotting data points
  • Plot lines
  • 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

Getting help and contributing

  • Contributing
  • Code of Conduct
  • License
  • Contact
  • Source Code
PyGMT
  • Docs »
  • 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¶

Symbols and markers¶

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¶

Base maps¶

Double Y axes graph

Double Y axes graph¶

Plot embellishments¶

Colorbar

Colorbar¶

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 b9c31a0.

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.