v2026.11.2
All Bundles
Bundle

A matplotlib-like plotting library: scatter, histogram, line and bar charts, subplots, as standalone SVG. A Figure holds one or more Axes; drawing the figure builds a PlotScene, an ordered list of pixel-space drawing primitives (lines, polylines, polygons, rects, circles, text), and a backend turns the scene into output. The SVG backend writes SVG 1.1 with no script and no external font, one decimal for every coordinate, so the same data gives the same bytes on every platform. Compile with -lib plot,gen_collect; it needs nothing else and draws without a display. Design: docs/PLOT_DESIGN.md. Examples: docs/AI.md, "Plotting".

PlotError

Raised by every System.Plot function that is handed input it cannot draw, with a message naming the problem. Uncaught, the program ends printing it; catch it with try { } on(e : PlotError) { }.

Inherits: Error

Operations

New # constructor

Constructor

New(message:String)

Parameters

NameTypeDescription
messageStringwhat was refused and why