We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc063e7 commit 9541468Copy full SHA for 9541468
manual.pdf
3.2 KB
manual.typ
@@ -31,6 +31,26 @@
31
32
#set page(numbering: "1/1", header: align(right)[CeTZ-Plot])
33
34
+= Introduction
35
+
36
+CeTZ-Plot is a simple plotting library for use with CeTZ.
37
38
+= Usage
39
40
+This is the minimal starting point:
41
+#pad(left: 1em)[```typ
42
+#import "@preview/cetz:0.2.2"
43
+#import "@preview/cetz-plot:0.1.0"
44
+#cetz.canvas({
45
+ import cetz.draw: *
46
+ import cetz-plot: *
47
+ ...
48
+})
49
+```]
50
+Note that plot functions are imported inside the scope of the `canvas` block.
51
+All following example code is expected to be inside a `canvas` block, with the `plot`
52
+module imported into the namespace.
53
54
= Plot
55
56
#doc-style.parse-show-module("/src/plot.typ")
0 commit comments