This gallery showcases the capabilities of fortplotlib through various examples. Each example includes the source code, rendered outputs in different formats (PNG, ASCII, PDF), and explanations.
Simple line plots demonstrating the fundamental plotting API.
Different line styles and customization options.
Various marker types and scatter plot capabilities.
Using matplotlib-style format strings for quick plot styling.
Contour plots with customizable levels and colors.
Filled contour plots with colormaps.
Pseudocolor plots for 2D data visualization.
Vector field visualization with streamlines.
Terminal-based heatmap visualization.
Linear, logarithmic, and symmetric log scaling demonstrations.
Legend placement and customization options.
Advanced legend styling with boxes and frames.
Mathematical symbols and Unicode support in plots.
Using the built-in viewer for interactive display.
Intelligent display mode selection based on environment.
Creating animated plots and saving to video files.
All examples are available in the example/fortran/ directory.