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

//xlimits(0,1,Crop);
//ylimits(-1,0,Crop);

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