diff options
author | Karl Berry <karl@freefriends.org> | 2009-06-21 23:42:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-06-21 23:42:52 +0000 |
commit | 8542b3da905deccc50b1bd6d21c7474a29286b3f (patch) | |
tree | c9a21ed9311ad8f967c67d17efad475eef50c5c1 /Build/source/utils/asymptote/examples/sphericalharmonic.asy | |
parent | 95be153f845a361eb22745faa0d1ce509eb18c39 (diff) |
asymptote 1.77 sources
git-svn-id: svn://tug.org/texlive/trunk@13865 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples/sphericalharmonic.asy')
-rw-r--r-- | Build/source/utils/asymptote/examples/sphericalharmonic.asy | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/examples/sphericalharmonic.asy b/Build/source/utils/asymptote/examples/sphericalharmonic.asy index 471bcaae9cd..1df89959f33 100644 --- a/Build/source/utils/asymptote/examples/sphericalharmonic.asy +++ b/Build/source/utils/asymptote/examples/sphericalharmonic.asy @@ -8,5 +8,6 @@ real r(real theta, real phi) {return 1+0.5*(sin(2*theta)*sin(2*phi))^2;} triple f(pair z) {return r(z.x,z.y)*expi(z.x,z.y);} -surface s=surface(f,(0,0),(pi,2pi),50); -draw(s,mean(palette(s.map(abs),Gradient(yellow,red))),nolight); +surface s=surface(f,(0,0),(pi,2pi),50,Spline); +s.colors(palette(s.map(abs),Gradient(yellow,red))); +draw(s); |