Skip to main content

Stereonets for matplotlib

Project description

mplstereonet provides lower-hemisphere equal-area stereonets for matplotlib.

Basic Usage

In most cases, you’ll want to import mplstereonet and then make an axes with projection="stereonet".

As an example:

import matplotlib.pyplot as plt
import mplstereonet

fig = plt.figure()
ax = fig.add_subplot(111, projection='stereonet')

ax.plane(315, 35)

plt.show()

Planes, lines, poles, and rakes can be plotted using axes methods (e.g. ax.line(plunge, bearing) or ax.rake(strike, dip, rake_angle)).

All planar measurements are expected to follow the right-hand-rule to indicate dip direction. As an example, 315/30S would be 135/30 follwing the right-hand rule.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mplstereonet, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size mplstereonet-0.1.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page