summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/log.asy
blob: 532b7b782b68bf854136aef9e480f7d32ea75f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);