summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/loggraph.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/loggraph.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/loggraph.asy18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/loggraph.asy b/Master/texmf/doc/asymptote/examples/loggraph.asy
new file mode 100644
index 00000000000..9dee2ffbbff
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/loggraph.asy
@@ -0,0 +1,18 @@
+import graph;
+
+size(200,200,IgnoreAspect);
+
+real f(real t) {return 1/t;}
+
+scale(Log,Log);
+
+draw(graph(f,0.1,10));
+
+//xlimits(1,10);
+//ylimits(0.1,1);
+
+dot(Label("(3,5)",align=S),Scale((3,5)));
+
+xaxis("$x$",BottomTop,LeftTicks);
+yaxis("$y$",LeftRight,RightTicks);
+