Gallery
Every image here is a foresight output, regenerated by scripts/docs_examples.sh from the recipe beside it and checked by the CI: the cookbook has the script of each one, the learning paths the figures that close the page. Each image follows the light and dark mode of the site (washi and night themes); open SVG shows it alone.
Data and columns
Files, columns, CSV, binary logs, datablocks, tables.
Lines, points and error bars
Line and point styles, colors per point, error bars, steps.
Functions, fits and statistics
Functions of x, special and complex functions, parametric curves, fits, stats.
Smoothing
smooth filters, splines, bins, running values.
Scripting
Variables, functions, arrays, loops, recursion, function blocks, strings.
Axes and ticks
Log, time, linked and broken axes, two x and y axes, tick formats and placements, grids.
Key and text
Keys in every place and layout, titles at curves, enhanced text, Greek and sub- and superscripts.
Layouts
Multiplots, margins, insets.
Bars and box plots
Bar charts, histograms, stacks, candlesticks, box plots, swarms, Gantt charts.
Areas and shapes
Filled curves, rectangles, circles, ellipses, polygons, vectors, annotations.
Heatmaps and images
Images, matrices, palettes and named colormaps.
3D plots
splot: surfaces, views, hidden lines, pm3d, lighting, contours, voxels, maps.
Polar and radial charts
Polar plots, roses, radars, spider and parallel axes, pies, gauges.
Dashboards of the 1980s
Readouts and the vfd and lcd themes.
Text terminals
The same scripts over ssh: characters, Unicode blocks or Braille dots, in ANSI colors, redrawn in place by --watch.
$ foresight cb_block.gp
0.55⣯⠉⠉⠉⠉⠉⠉⠉⠉⠙⠉⠉⠉⠉⠉⠉⠉⠉⠉⠋⠉⠉⠉⠉⠉⠉⠉⠉⠋⠉⠉⠉⠉⠉⠉⠉⠉⠙⠉⠉⠉⠉⠉⠉⠉⠉⠉cd⢉⣉⣉⣉⣉⣉⠉⡇
0.5⣇⣇ ⢀⡇
⡇⠘⡄ ⡇
0.45⣇⡀⢣ ⢀⡇
⡇ ⠸⡀ ⡇
0.4⡧⠄ ⡇ ⠠⡇
⡇ ⢸ ⡇
0.35⡧⠄ ⠈⡆ ⡠⠒⠑⠒⢄ ⠠⡇
⡇ ⢱ ⡜ ⠱⡀ ⢀⣀⣀⣀ ⡇
0.3⡗⠂ ⠈⡆ ⡸ ⠈⠢⣀ ⢀⡠⠔⠊⠉⠁ ⠉⠉⠒⠒⠒⠤⠤⠤⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠒⡇
⡇ ⢱ ⢠⠃ ⠉⠒⠒⠊⠁ ⡇
0.25⡏⠁ ⠈⡆ ⢠⠃ ⠈⡇
⡇ ⢇ ⢠⠃ ⡇
0.2⡏⠁ ⠈⠢⣀⠔⠁ ⠈⡇
0.15⣇⣀⣀⣀⣀⣀⣀⣀⣀⣠⣀⣀⣀⣀⣀⣀⣀⣀⣀⣄⣀⣀⣀⣀⣀⣀⣀⣀⣄⣀⣀⣀⣀⣀⣀⣀⣀⣠⣀⣀⣀⣀⣀⣀⣀⣀⣀⣄⣀⣀⣀⣀⣀⣀⣀⣀⡇
0 20 40 60 80 100 120$ foresight cb_readout_dumb.gp
0.55+----------+---------+----------+----------+---------+----------+
|* +----------------------+ |
0.5+ * |CD | +
| * | _ _ _ _ _ | |
| * || | _| | | | | |_| | |
0.45+ * ||_|. _| |_| |_| |_| | +
| * | | |
0.4+ * +----------------------+ +
| * |
| * |
0.35+ * ****** +
| * * ** |
| * * * ********* ***** |
0.3+ * * *** **** ************* **+
| * * ****** |
0.25+ * * +
| * * |
| * * |
0.2+ ** * +
| *** |
0.15+----------+---------+----------+----------+---------+----------+
0 20 40 60 80 100 120$ foresight cb_dumb.gp
0.55+--------+---------+--------+--------+---------cd******-+
0.5+* +
|* |
0.45+ * +
| * |
0.4+ * +
| * |
0.35+ * ***** +
| * * ** **** |
0.3+ * * *** ****** *******************+
| * ** ***** |
0.25+ * ** +
| * ** |
0.2+ ***** +
0.15+--------+---------+--------+--------+---------+--------+
0 20 40 60 80 100 120$ foresight cb_loops.gp
residual max min orders
continuity 1.005e+00 5.019e-06 5.3
momentum 4.510e-01 6.553e-06 4.8
energy 1.778e+00 1.995e-06 6.0Papers and reports
pdfcairo, the paper theme, TeX math, report figures.
From Fortran
The library, without a script.
From the learning paths
Path A: first steps
Chapters: Path A: first steps.
Path B: watching a simulation
Chapters: Path B: watching a simulation.
Path C: figures for a paper
Chapters: Path C: figures for a paper.
Path D: fields and 3D
Chapters: Path D: fields and 3D.
Path E: from gnuplot
Chapters: Path E: from gnuplot.
Path F: reports
Chapters: Path F: reports.