summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/log.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/log.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/log.asy14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/log.asy b/Master/texmf-dist/doc/asymptote/examples/log.asy
new file mode 100644
index 00000000000..532b7b782b6
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/log.asy
@@ -0,0 +1,14 @@
+import graph;
+
+size(150,0);
+
+real f(real x) {return log(x);}
+pair F(real x) {return (x,f(x));}
+
+xaxis("$x$",0);
+yaxis("$y$");
+
+draw(graph(f,0.01,10,operator ..));
+
+labelx(1,SSE);
+label("$\log x$",F(7),SE);