summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/loggraph.asy
blob: d496fba1624bde12f87c9f553548fc1ccd6eb448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import graph;

size(200,200,IgnoreAspect);

real f(real t) {return 1/t;}

scale(Log,Log);

draw(graph(f,0.1,10));

//limits((1,0.1),(10,0.5),Crop);

dot(Label("(3,5)",align=S),Scale((3,5)));

xaxis("$x$",BottomTop,LeftTicks);
yaxis("$y$",LeftRight,RightTicks);