summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/parametricelevation.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/parametricelevation.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/parametricelevation.asy10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/parametricelevation.asy b/Master/texmf-dist/doc/asymptote/examples/parametricelevation.asy
new file mode 100644
index 00000000000..ac0f0b09ad5
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/parametricelevation.asy
@@ -0,0 +1,10 @@
+import graph3;
+import palette;
+size(200);
+
+currentprojection=orthographic(4,2,4);
+
+triple f(pair z) {return expi(z.x,z.y);}
+
+surface s=surface(f,(0,0),(pi,2pi),10,Spline);
+draw(s,mean(palette(s.map(zpart),BWRainbow())),black,nolight,render(merge=true));