From 3e889cecea02516b3f73d6574c3791a45e02c50a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 12 May 2015 23:15:42 +0000 Subject: asymptote 2.33 git-svn-id: svn://tug.org/texlive/trunk@37365 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/asymptote/CAD.pdf | Bin 67500 -> 67562 bytes .../doc/asymptote/TeXShopAndAsymptote.pdf | Bin 31527 -> 31481 bytes Master/texmf-dist/doc/asymptote/asy-latex.pdf | Bin 194499 -> 194467 bytes Master/texmf-dist/doc/asymptote/asyRefCard.pdf | Bin 53672 -> 53672 bytes Master/texmf-dist/doc/asymptote/asymptote.pdf | Bin 1272511 -> 1274426 bytes Master/texmf-dist/doc/asymptote/examples/Bode.asy | 2 +- .../doc/asymptote/examples/latexusage.tex | 2 ++ .../doc/asymptote/examples/lemniscate.asy | 20 ++++++++++++++++++++ 8 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/asymptote/examples/lemniscate.asy (limited to 'Master/texmf-dist/doc/asymptote') diff --git a/Master/texmf-dist/doc/asymptote/CAD.pdf b/Master/texmf-dist/doc/asymptote/CAD.pdf index ba59db86d8a..abcc0b4467d 100644 Binary files a/Master/texmf-dist/doc/asymptote/CAD.pdf and b/Master/texmf-dist/doc/asymptote/CAD.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf index 82a110f254f..91b906c0637 100644 Binary files a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf and b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/asy-latex.pdf b/Master/texmf-dist/doc/asymptote/asy-latex.pdf index 33812486191..ddf5de3b8be 100644 Binary files a/Master/texmf-dist/doc/asymptote/asy-latex.pdf and b/Master/texmf-dist/doc/asymptote/asy-latex.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf index 66f8027aee6..686d007d700 100644 Binary files a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf and b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/asymptote.pdf b/Master/texmf-dist/doc/asymptote/asymptote.pdf index 71254d9591b..fbdf5df6f1c 100644 Binary files a/Master/texmf-dist/doc/asymptote/asymptote.pdf and b/Master/texmf-dist/doc/asymptote/asymptote.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/examples/Bode.asy b/Master/texmf-dist/doc/asymptote/examples/Bode.asy index a35540e9749..6cc634299ff 100644 --- a/Master/texmf-dist/doc/asymptote/examples/Bode.asy +++ b/Master/texmf-dist/doc/asymptote/examples/Bode.asy @@ -3,7 +3,7 @@ texpreamble("\def\Arg{\mathop {\rm Arg}\nolimits}"); size(10cm,5cm,IgnoreAspect); -real ampl(real x) {return 2.5/(1+x^2);} +real ampl(real x) {return 2.5/sqrt(1+x^2);} real phas(real x) {return -atan(x)/pi;} scale(Log,Log); diff --git a/Master/texmf-dist/doc/asymptote/examples/latexusage.tex b/Master/texmf-dist/doc/asymptote/examples/latexusage.tex index 910cef5bf10..b70df067963 100644 --- a/Master/texmf-dist/doc/asymptote/examples/latexusage.tex +++ b/Master/texmf-dist/doc/asymptote/examples/latexusage.tex @@ -14,6 +14,8 @@ \begin{document} +% Optional subdirectory for latex files (no spaces): +\def\asylatexdir{} % Optional subdirectory for asy files (no spaces): \def\asydir{} diff --git a/Master/texmf-dist/doc/asymptote/examples/lemniscate.asy b/Master/texmf-dist/doc/asymptote/examples/lemniscate.asy new file mode 100644 index 00000000000..b151e43c18b --- /dev/null +++ b/Master/texmf-dist/doc/asymptote/examples/lemniscate.asy @@ -0,0 +1,20 @@ +settings.outformat = "png";; +settings.render = 16; +size(8cm); + +import smoothcontour3; + +// Erdos lemniscate of order n: +real erdos(pair z, int n) { return abs(z^n-1)^2 - 1; } + +real h = 0.12; + +real lemn3(real x, real y) { return erdos((x,y), 3); } + +real f(real x, real y, real z) { + return lemn3(x,y)^2 + (16*abs((x,y))^4 + 1) * (z^2 - h^2); +} + +draw(implicitsurface(f,a=(-3,-3,-3),b=(3,3,3),overlapedges=true), + surfacepen=material(diffusepen=gray(0.5),emissivepen=gray(0.4), + specularpen=gray(0.1))); -- cgit v1.2.3