summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/loggraph.asy
blob: edd9d3e0a676344f4b755496432b04036cab67bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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,Crop);
//ylimits(0.1,1,Crop);

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

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