steadfastasart/geoscience-skills/mplstereonet
Claude Code and agent skill by steadfastasart/geoscience-skills
- community
Checking that the SKILL.md file is still in the repository.
Stereonet plots for structural geology using matplotlib. Create lower-hemisphere stereographic projections for orientation data. Use when the agent needs to: (1) Create stereonet plots for structural data, (2) Plot planes as great circles or poles, (3) Plot lineations with trend/plunge, (4) Generate density contours for orientations, (5) Calculate mean orientations and statistics, (6) Analyze fold axes with pi-diagrams, (7) Convert between strike/dip and trend/plunge formats.
Install
npx vskill@latest install steadfastasart/geoscience-skills/mplstereonetSKILL.md
mplstereonet - Stereonets for Matplotlib
Quick Reference
Key Functions
| Function | Purpose | |
|---|---|---|
mplstereonet.subplots() | Create stereonet figure and axes | |
ax.plane(strike, dip) | Plot great circle | |
ax.pole(strike, dip) | Plot pole to plane | |
ax.line(trend, plunge) | Plot lineation point | |
ax.density_contourf() | Filled density contours | |
mplstereonet.fit_girdle() | Best-fit great circle | |
mplstereonet.find_mean_vector() | Mean orientation |
Essential Operations
Multiple Measurements with Contours
Calculate Mean Orientation
Pi-Diagram (Fold Axis)
Fault Plane with Slip Vector
Multiple Joint Sets
Measurement Conventions
| Format | Description | Example | |
|---|---|---|---|
| Strike/Dip | Right-hand rule (dip to right of strike) | 045/60 | |
| Dip Direction/Dip | Azimuth of dip direction | 135/60 | |
| Trend/Plunge | Linear orientation | 180/30 |
Format Conversions
Contouring Methods
| Method | Description | |
|---|---|---|
kamb | Statistical significance (default) | |
schmidt | Point counting | |
exponential_kamb | Smoothed Kamb |
When to Use vs Alternatives
| Tool | Best For | Limitations | |
|---|---|---|---|
| mplstereonet | Quick stereonets in Python, matplotlib integration, scripted workflows | No interactive rotation, limited 3D | |
| apsg | Advanced structural analysis, tensors, orientation statistics | Steeper learning curve | |
| JTOPO | Interactive GUI exploration, teaching | Java-based, not scriptable |
Use mplstereonet when you need programmatic stereonet generation integrated with matplotlib, batch processing of orientation datasets, or reproducible structural plots for publications.
Consider alternatives when you need interactive 3D visualization of orientations (use apsg), a GUI for teaching or quick inspection (use JTOPO), or advanced tensor statistics beyond what mplstereonet provides.
Common Workflows
Analyze bedding orientations and determine fold axis
- [ ] Load strike/dip measurements from CSV or array
- [ ] Create stereonet with
mplstereonet.subplots() - [ ] Plot poles to bedding with
ax.pole(strikes, dips) - [ ] Generate density contours with
ax.density_contourf() - [ ] Fit girdle to poles with
mplstereonet.fit_girdle() - [ ] Calculate fold axis as pole to girdle with
mplstereonet.pole() - [ ] Plot fold axis with
ax.line(trend, plunge) - [ ] Add grid, legend, and save figure
References
- [Projection Types](references/projections.md) - Equal-area vs equal-angle projections
- [Plotting Options](references/plotting_options.md) - Customization and styling
Scripts
- [scripts/structural_analysis.py](scripts/structural_analysis.py) - Analyze structural data and generate plots
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmplstereonet/SKILL.md
Popularity
- Repository stars
- 71
- Repository forks
- 8
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/steadfastasart/geoscience-skills/mplstereonet)