treeJuliaSet | R Documentation |
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 )
tree |
phylo object |
pixelLength |
number of pixels on one side of the image |
center |
complex number giving the center of the image on the complex plane |
maxZ |
the max value for the real and imaginary axis |
maxIter |
maximum count for iterations |
col |
colours to be used for the image |
y |
the y value to evaluate the polynomial at |
library(treenomial) library(ape) treeJuliaSet(stree(5,type = "right"), y = 1+1i)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.