cetz-plot
cetz-plot copied to clipboard
Create Plots and Charts with CeTZ
Expected behaviour: Marks are drawn in proper scale for axes. Transform-shape flag respected. Observed: Marks are drawn scaled with plot size from (1,1) size. Transform-shape flag ignored. MRE: https://typst.app/project/rI6mbXgDNKKsYwGnSiwI49 ```typ...
``` #canvas(length:2cm,{ plot.plot( size: (6,3), y-max: 50, y-min: -50, plot.add( x=>(x,calc.tan(x)), samples: ???, domain: (-15,15), ) ) }) ``` 50 samples:  100 samples:  500 samples:  1000 samples:...
Hi and thanks for your time and efforts you put into this nice package! I hope this is no duplicate, but I find the structure of the manual rather confusing:...
The default axis labels x and y are displayed in an upright style in Typst 0.13.0 and later. In the example code below, CeTZ 0.3.2 is used to ensure compatibility...
Maybe we shoule initially evaluate `f` at a number of equally spaced sample points specified by `samples`, then use an adaptive algorithm to choose additional sample points, subdividing a given...
See this project: https://typst.app/project/rBvXqvt6N2I7RKIuLiKV_A When using CeTZ 0.3.1 and `cetz-plot` 0.1.0, plotting a simple circle with an anchored content label leads to:  When using CeTZ 0.2.2 and the built-in...
A more flexible approach of doing plots. Idea: - Axes are "real" plot objects that can be added via `add-*-axis` in the plot-body - The plot style is just a...
in this example, i'd like to pass `name` to `plot.add` in order to draw lines between e.g. `"n_B-T=1.50%"` and `"n_B-T=2.50%"` but i'm getting an unexpected argument error. for now, i'm...
Also see #93 When plotting log plots, I think there are lots of room for improvement. First, the ticks scaling is still linear, even though the labeling is logarithmic. I...
Hello, I stumbled upon this package today looking for something to draw small charts in a Document of mine. In particular I'd like to draw a barchart (or `columchart` as...