diff options
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/parametricgraph.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/parametricgraph.asy | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/parametricgraph.asy b/Master/texmf-dist/doc/asymptote/examples/parametricgraph.asy new file mode 100644 index 00000000000..a5688a6f9dd --- /dev/null +++ b/Master/texmf-dist/doc/asymptote/examples/parametricgraph.asy @@ -0,0 +1,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)); + + |