Plotting
Create figures and plots.
Figures are based on Apache ECharts and support most of its options.
Currently supported data formats are Aleph List of integer and real values, plus linear algebra arrays (RealArray, IntegerArray).
Figures automatically sample supported series above 50000 points before writing the figure file. Auto mode uses minmax for line series and sum for ordered bar series. Scatter and heatmap series are emitted unsampled, with a warning when they exceed the threshold. Use Figure.sampling(...) to configure or disable figure-level sampling.
Examples
Figure()
.title("My Plot")
.line([0, 1, 2], [0, 1, 4])
.save("my_plot")
Types
| Name | Description |
|---|---|
| Figure | Figure builder that collects data, configuration and options. |