typst-plot
typst-plot copied to clipboard
Typst Plotting Library
Note
I have implemented improved plotting in CeTZ's "plot" library. This package will not receive any new features. Please use CeTZ as an replacement for typst-plot. Examples of CeTZ plot and chart capabilities can be found here:
Typst Plotting Library
A simple Typst library for plotting line charts.
Getting Started
// Install the package locally by running `just install`
#import "@local/typst-plot:0.0.1": plot, sample
#plot(sample(x => calc.sin(x), min: 0, max: 2 * calc.pi))
Examples
|
|
|
| Simple Plot | Multiple Plots | Custom Tick labels |
|
||
| Parametric |
Click on the example image to jump to the code.