plot.mandelbrot {mandelbrot}R Documentation

Plot a Mandelbrot set using base graphics

Description

Draws colored set membership using image.

Usage

## S3 method for class '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


[Package mandelbrot version 0.2.0 Index]