diff options
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/cos2theta.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/cos2theta.asy | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/cos2theta.asy b/Master/texmf-dist/doc/asymptote/examples/cos2theta.asy new file mode 100644 index 00000000000..1be0c519fb1 --- /dev/null +++ b/Master/texmf-dist/doc/asymptote/examples/cos2theta.asy @@ -0,0 +1,15 @@ +import graph; +size(0,100); + +real f(real t) {return cos(2*t);} + +path g=polargraph(f,0,2pi,operator ..)--cycle; +fill(g,green+white); +xaxis("$x$",above=true); +yaxis("$y$",above=true); +draw(g); + +dot(Label,(1,0),NE); +dot(Label,(0,1),NE); + + |