summaryrefslogtreecommitdiff
path: root/graphics/asymptote/examples/annotation.asy
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/asymptote/examples/annotation.asy
Initial commit
Diffstat (limited to 'graphics/asymptote/examples/annotation.asy')
-rw-r--r--graphics/asymptote/examples/annotation.asy13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/asymptote/examples/annotation.asy b/graphics/asymptote/examples/annotation.asy
new file mode 100644
index 0000000000..d52e15b4f7
--- /dev/null
+++ b/graphics/asymptote/examples/annotation.asy
@@ -0,0 +1,13 @@
+import annotate;
+settings.outformat="pdf";
+
+size(200);
+
+draw(unitcircle);
+dot((0,0));
+annotate("O","(0,0)",(0,0));
+annotate("A","(1,0)",(1,0));
+annotate("B","(0,1)",(0,1));
+annotate("C","(-1,0)",(-1,0));
+annotate("D","(0,-1)",(0,-1));
+