Learn R Programming

DSsim (version 1.1.4)

plot,Density,ANY-method: Plot

Description

Plots an S4 object of class 'Density'

Usage

# S4 method for Density,ANY
plot(x, y, add = FALSE,
  plot.units = character(0), contours = TRUE, style = "points",
  density.col = heat.colors(12), main = "", ...)

Arguments

x

object of class Density

y

not used

add

logical indicating whether it should be added to existing plot

plot.units

allows for units to be converted between m and km

contours

logical indicating whether contours should be added

style

character "points" or "blocks". Points displays a coloured point at the centre of each grid cell where as blocks colours the entire cell.

density.col

the colours used to indicate density level

main

character plot title

...

other general plot parameters