PyGMT

dev

Getting Started

  • Overview
  • Installing
  • Intro to PyGMT

User Guide

  • Tutorials
  • Gallery
    • Maps and map elements
      • Color land and water
      • Political Boundaries
      • Shorelines
    • Lines and vectors
      • Cartesian, circular, and geographic vectors
      • 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
      • Bit and Hachure Patterns
      • Color points by categories
      • Custom symbols
      • Datetime inputs
      • Multi-parameter symbols
      • Points
      • 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 with custom azimuth and normalize parameters
      • 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
    • 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
      • Inset
      • Inset map showing a rectangular region
      • Legend
      • Logo
      • Multiple colormaps
      • Timestamp
  • Projections
  • External Resources

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

Generate points along great circles

Generate points along great circles

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

Bit and Hachure Patterns

Bit and Hachure Patterns

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

Vertical or horizontal bars

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

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

3-D Scatter plots

3-D 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

Ternary diagram

Ternary diagram

Histograms

Blockmean

Blockmean

Histogram

Histogram

Rose diagram

Rose diagram

Scatter plot with histograms

Scatter plot with histograms

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

Timestamp

Timestamp

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2017-2023, The PyGMT Developers. Revision e970485e. Last updated on Mar 20, 2023.

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.