Hey,
i need some help. I try to definde the mandelbrotset with colors defined by
following function:
sage: def mandel(x,y):
v=[];c=x+y*i;z=c;v.append(z)
for m in range(30):
if abs(z)<2:
z=z^2+c;v.append(z);color=exp(-m)
return color
Then i typed: plot3d(0,(x,-2,2),(y,-2,2),rgbcolor=hue(mandel))
Now i get TypeError?
May anyone has an idea?
Thanks for help
Danjo
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.