powered by
Finds the Julia Set for the y evaluated polynomial of a tree and plots in a square image.
treeJuliaSet( tree, pixelLength = 700, center = 0, maxZ = 2, maxIter = 100, col = c("white", colorRampPalette(c("dodgerblue4", "lightblue"))(98), "black"), y )
phylo object
number of pixels on one side of the image
complex number giving the center of the image on the complex plane
the max value for the real and imaginary axis
maximum count for iterations
colours to be used for the image
the y value to evaluate the polynomial at
# NOT RUN { library(treenomial) library(ape) treeJuliaSet(stree(5,type = "right"), y = 1+1i) # }
Run the code above in your browser using DataLab