summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/magnetic.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/magnetic.asy')
-rw-r--r--Build/source/utils/asymptote/examples/magnetic.asy3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/examples/magnetic.asy b/Build/source/utils/asymptote/examples/magnetic.asy
index 4dc187f5770..3ae40466d43 100644
--- a/Build/source/utils/asymptote/examples/magnetic.asy
+++ b/Build/source/utils/asymptote/examples/magnetic.asy
@@ -10,7 +10,8 @@ real B(real z) {return 1-0.5cos(pi*z/10);}
real f(real x, real y, real z) {return 0.5B(z)*(a(z)*x^2+b(z)*y^2)-1;}
-draw(surface(contour3(f,(-2,-2,-10),(2,2,10),10)),blue+opacity(0.75));
+draw(surface(contour3(f,(-2,-2,-10),(2,2,10),10)),blue+opacity(0.75),
+ render(merge=true));
xaxis3(Label("$x$",1),red);
yaxis3(Label("$y$",1),red);