cetz-plot
cetz-plot copied to clipboard
Create Plots and Charts with CeTZ
I might be misunderstanding how to apply gradients to lines, but the following does not behave as I would expect. ```typst #import "@preview/cetz:0.4.2": canvas, draw #import "@preview/cetz-plot:0.1.3": plot #canvas({ import...
When the axes are reversed, the "school-book" axis style will place the opposing axis in the incorrect location, at the edge of the plot, rather than intersecting at (0,0). ```typ...
Currently `plot.annotate` panics because of missing (drawable) fields.
Consider the following code (a slight modification from the gallery piechart example) ```typ #import "@preview/cetz:0.4.0" #import "@preview/cetz-plot:0.1.2": chart // changed width from auto -> 15cm #set page(width: 15cm, height: auto,...
Hey, I am currently creating a barchart using this code ``` #canvas({ chart.barchart( ( ([First], 1), ([Second], 2), ([Third], 1.5), ), mode: "basic", size: 12, x-tick-step: 0.2, ) }) ```...
I'm very much a newbie here, but my needs are simple. I have a function f(x) which I can plot, and given x values a and b, say, I draw...