Modern Fortran plotting library inspired by matplotlib. No external dependencies, multiple output formats, and Python compatibility.
Basic usage patterns for both stateful and object-oriented APIs.
Installation with fpm, CMake, or pip for Python projects.
Complete working examples with source code and generated plots.
Featured Examples: - Basic Plots - Line plots with both APIs - 3D Plotting - Surface and 3D line plots - Contours - Contour and filled contour plots - Animations - Animated plots with FFmpeg - Unicode Support - Greek letters and LaTeX math
All Examples: - Animation - Creating MP4 animations - Annotations - Text and arrow annotations - ASCII Heatmaps - Terminal visualization - Basic Plots - Fundamental plotting - Boxplot Demo - Box and whisker plots - Colored Contours - Filled contour plots - Contour Demo - Contour line plots - Disconnected Lines - Multi-segment plots - Errorbar Demo - Error bars and uncertainty - Format Strings - Matplotlib-style strings - Grid Demo - Grid line control - Legend Demo - Legend positioning - Line Styles - Line and marker styles - Marker Demo - Scatter plot markers - Pcolormesh - 2D color mesh plots - Scale Examples - Log and symlog scales - Scatter Demo - Scatter plot basics - Show Viewer - Interactive display - Smart Show - Intelligent display - Streamplot - Vector field visualization - Subplot Demo - Multiple plot grids - Unicode Demo - Mathematical symbols
Main module with stateful plotting functions.
Object-oriented figure handling and subplot systems.
PNG, PDF, and ASCII output backends.
Line plots, scatter, contours, surfaces, and animations.