diff options
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/RiemannSurface.asy')
-rw-r--r-- | Master/texmf/doc/asymptote/examples/RiemannSurface.asy | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/RiemannSurface.asy b/Master/texmf/doc/asymptote/examples/RiemannSurface.asy new file mode 100644 index 00000000000..68c8f237a19 --- /dev/null +++ b/Master/texmf/doc/asymptote/examples/RiemannSurface.asy @@ -0,0 +1,13 @@ +import graph3; +import palette; + +size(200,300,keepAspect=false); +//settings.nothin=true; + +currentprojection=orthographic(10,10,30); +currentlight=(10,10,5); +triple f(pair t) {return (exp(t.x)*cos(t.y),exp(t.x)*sin(t.y),t.y);} + +surface s=surface(f,(-4,-2pi),(0,4pi),30,60); +s.colors(palette(s.map(zpart),Rainbow())); +draw(s,meshpen=black); |