diff options
Diffstat (limited to 'graphics/asymptote/doc/parametricgraph.asy')
-rw-r--r-- | graphics/asymptote/doc/parametricgraph.asy | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/asymptote/doc/parametricgraph.asy b/graphics/asymptote/doc/parametricgraph.asy new file mode 100644 index 0000000000..61c219d810 --- /dev/null +++ b/graphics/asymptote/doc/parametricgraph.asy @@ -0,0 +1,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)); + + |