← Sat, Nov 28 digest

fplotlib – Fortran Plotting Library

read article ↗ hn thread ↗

fplotlib is a pure Fortran plotting and document typesetting library featuring a pylab-style API and zero external dependencies.

summary is enough It offers a comprehensive feature reference for a new Fortran library that is best browsed directly on GitHub or the project site.

summary

fplotlib is a pure Fortran library providing a pylab-style plotting API and a built-in typesetting engine for generating SVG, PNG, PDF, and EPS files without external graphics dependencies. It supports standard charts, 3D and polar axes, color maps, and full TeX math rendering using Lato fonts. Furthermore, it features a built-in MyST Markdown typesetting engine implementing Knuth-Plass line breaking to generate complete reports or books directly from simulation code. The package builds with gfortran, flang, and LFortran via the Fortran Package Manager with no external dependencies.

key points

  1. Provides a comprehensive pylab-style plotting interface in pure Fortran with zero external graphics library dependencies.
  2. Includes an integrated MyST Markdown and TeX math typesetting engine using Knuth-Plass line breaking for direct PDF and SVG report generation.
  3. Builds with gfortran, flang, and LFortran via the Fortran Package Manager (fpm).

who should read it

Fortran developers and scientific computing engineers looking for self-contained plotting and document generation tools.

discussion positive

consensus

Commenters are generally enthusiastic about the emergence of modern Fortran libraries.

best comment by setopt ↗

Very nice to see more modern Fortran libraries!

It expresses appreciation for the revival and modernization of the Fortran ecosystem.

Generated by an LLM from the article and thread. Check the sources before relying on it.