johannes-wolf / typst-plot

Typst Plotting Library
GNU General Public License v3.0
90 stars 1 forks source link

Region plots? #3

Closed Kreijstal closed 1 year ago

Kreijstal commented 1 year ago

any way of doing region plots? o.o

johannes-wolf commented 1 year ago

Currently not. Can you give an example of a plot? Plan is to move this libraries implementation over to typst-canvas, which would make it way simpler to add new plot types.

Kreijstal commented 1 year ago

the epigraph of any function, for example

johannes-wolf commented 1 year ago

Hi, I have implemented plotting in my other library CeTZ (formerly typst-canvas). With that library you can draw the epigraph or hypograph of a function. The PR is not yet merged, have a look here: https://github.com/johannes-wolf/typst-canvas/tree/plotting-lib and/or https://github.com/johannes-wolf/typst-canvas/pull/92