diff options
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/extrudedcontour.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/extrudedcontour.asy | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/extrudedcontour.asy b/Master/texmf-dist/doc/asymptote/examples/extrudedcontour.asy index dabd56b9298..29b12b5c387 100644 --- a/Master/texmf-dist/doc/asymptote/examples/extrudedcontour.asy +++ b/Master/texmf-dist/doc/asymptote/examples/extrudedcontour.asy @@ -11,16 +11,15 @@ real b=4; real f(pair z) {return (z.x+z.y)/(2+cos(z.x)*sin(z.y));} guide[][] g=contour(f,(-10,-10),(10,10),new real[]{8},150); -render render=render(merge=true); for(guide p:g[0]){ - draw(extrude(p,8Z),palered,render); - draw(path3(p),red+2pt,render); + draw(extrude(p,8Z),palered); + draw(path3(p),red+2pt); } -draw(lift(f,g),red+2pt,render); +draw(lift(f,g),red+2pt); surface s=surface(f,(0,0),(10,10),20,Spline); s.colors(palette(s.map(zpart),Rainbow()+opacity(0.5))); -draw(s,render); +draw(s); axes3("$x$","$y$","$z$",Arrow3); |