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 sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to