cetz-plot icon indicating copy to clipboard operation
cetz-plot copied to clipboard

Create Plots and Charts with CeTZ

Results 57 cetz-plot issues
Sort by recently updated
recently updated
newest added

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: ![Image](https://github.com/user-attachments/assets/cf8f3adf-6d34-4749-84bd-8b2d0c9568f7) 100 samples: ![Image](https://github.com/user-attachments/assets/a5d395e5-51de-4895-a1da-b8618d6f362a) 500 samples: ![Image](https://github.com/user-attachments/assets/ba5029ec-ff09-4f52-ac96-0a0f6d919910) 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: ![image](https://github.com/user-attachments/assets/0177cc74-3bac-44d0-a666-5653ad46c28f) When using CeTZ 0.2.2 and the built-in...

:imp: bug

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...

:question: question