mandelbrot(...)
Z
, where
mean(Re(Z)) == xmid
,
mean(Im(Z)) == ymid
,
diff(range(Re(Z))) == side
,
diff(range(Im(Z))) == side
, and
dim(Z) == c(resolution, resolution)
.counts <- mandelbrot(xmid=-0.75, ymid=0, side=3)
str(counts)
## Not run:
# plot(counts)
# ## End(Not run)
## Not run:
# demo("mandelbrot", package="future", ask=FALSE)
# ## End(Not run)
Run the code above in your browser using DataLab