summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/loggrid.asy
blob: bb48a1e4ca86df50d110515b2625de63d63a206e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import graph;
size(200,200,IgnoreAspect);

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

scale(Log,Log);
draw(graph(f,0.1,10),red);
pen thin=linewidth(0.5*linewidth());
xaxis("$x$",BottomTop,LeftTicks(begin=false,end=false,extend=true,
                                ptick=thin));
yaxis("$y$",LeftRight,RightTicks(begin=false,end=false,extend=true,
                                 ptick=thin));