Question: Basins of attraction

Hi! I'm trying to draw the basins of attraction for Newton's method with f(z) = z^3 - 1 in three colors, just like the pictures on the links below:

https://i.stack.imgur.com/0wHfa.jpg

or

http://dept.cs.williams.edu/~heeringa/classes/cs135/s15/labs/lab3/

Can this be done? Thanks in advance,

RM

Please Wait...