summaryrefslogtreecommitdiff
path: root/graphics/asymptote/examples/annotation.asy
diff options
context:
space:
mode:
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));
+