Draws colored set membership using image.

# S3 method for mandelbrot
plot(x, col = mandelbrot_palette(c("white",
  grey.colors(50))), transform = c("none", "inverse", "log"), asp = 1, ...)

Arguments

x

an object generated by mandelbrot

col

a vector of colors, such as those generated by mandelbrot_palette

transform

the name of a transformation to apply to the number of iterations matrix

asp

the asp parameter to image which controls aspect ratio

...

extra arguments passed to image