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

size(0,200);

real x(real t) {return cos(2pi*t);}
real y(real t) {return sin(2pi*t);}

draw(graph(x,y,0,1));

//limits((0,-1),(1,0),Crop);

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