summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/sinc.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/sinc.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/sinc.asy24
1 files changed, 0 insertions, 24 deletions
diff --git a/Master/texmf/doc/asymptote/examples/sinc.asy b/Master/texmf/doc/asymptote/examples/sinc.asy
deleted file mode 100644
index 352585bdbe4..00000000000
--- a/Master/texmf/doc/asymptote/examples/sinc.asy
+++ /dev/null
@@ -1,24 +0,0 @@
-import graph3;
-import contour;
-
-currentprojection=orthographic(1,-2,1);
-currentlight=White;
-
-size(12cm,0);
-
-real sinc(pair z) {
- real r=2pi*abs(z);
- return r != 0 ? sin(r)/r : 1;
-}
-
-render render=render(compression=Low,merge=true);
-
-draw(lift(sinc,contour(sinc,(-2,-2),(2,2),new real[] {0})),red);
-draw(surface(sinc,(-2,-2),(2,2),Spline),lightgray,render);
-
-draw(scale3(2*sqrt(2))*unitdisk,paleyellow+opacity(0.25),nolight,render);
-draw(scale3(2*sqrt(2))*unitcircle3,red,render);
-
-xaxis3("$x$",Bounds,InTicks);
-yaxis3("$y$",Bounds,InTicks(beginlabel=false));
-zaxis3("$z$",Bounds,InTicks);