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:
A simple Typst library for plotting line charts.
// 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))
Simple Plot | Multiple Plots | Custom Tick labels |
Parametric |
Click on the example image to jump to the code.