summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/RiemannSurfaceRoot.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/RiemannSurfaceRoot.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/RiemannSurfaceRoot.asy5
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf/doc/asymptote/examples/RiemannSurfaceRoot.asy b/Master/texmf/doc/asymptote/examples/RiemannSurfaceRoot.asy
index 93bd7035842..8cb3af2cfa9 100644
--- a/Master/texmf/doc/asymptote/examples/RiemannSurfaceRoot.asy
+++ b/Master/texmf/doc/asymptote/examples/RiemannSurfaceRoot.asy
@@ -1,11 +1,10 @@
// Riemann surface of z^{1/n}
import graph3;
import palette;
-
+
int n=3;
size(200,300,keepAspect=false);
-//settings.nothin=true;
currentprojection=orthographic(10,10,30);
currentlight=(10,10,5);
@@ -14,4 +13,4 @@ triple f(pair t) {return (t.x*cos(t.y),t.x*sin(t.y),t.x^(1/n)*sin(t.y/n));}
surface s=surface(f,(0,0),(1,2pi*n),8,16,Spline);
s.colors(palette(s.map(zpart),Rainbow()));
-draw(s,meshpen=black);
+draw(s,meshpen=black,render(merge=true));