plot.density.population: Default Plotting Statement for Animal Population Density

Description Usage Arguments Value See Also Examples

Description

This function generates a graphical representation of the specified 'density.population´ object.

Usage

1
        plot.density.population(dens, method = "persp", eye.horiz = 330, eye.vert = 35, ...)

Arguments

dens

object of class 'density.population´.

method

used plot method. Possible methods are * persp for a three dimensional figure, * image for a two dimensional plot where different colours represent different densities.

eye.horiz

horizontal plot rotation (in degrees). Only used with "persp"

eye.vert

vertical plot rotation (in degrees). Only used with "persp"

...

extra plot arguments

Value

a list containing the following elements

reg

study region object

n.interval.x

the number of units of along the x axis. Equal to the number 'nint.x', passed to the generate.density function

n.interval.y

the number of units of along the y axis. Equal to the number 'nint.y', passed to the generate.density function

matrix

A matrix of the densities in the area. N.B. It is very large

parents

details of the WiSP objects passed to the function

created

The date and time the object was created

See Also

generate.region, generate.density summary.density.population

Examples

1
2
3
4
5
6
7
8
reg<-generate.region(x.length = 50, y.width = 80)
     
dens <- generate.density(reg, nint.x = 50, nint.y = 40, southwest = 1, southeast = 10, northwest = 20)
plot(dens, method = "persp")       			# show perspective plot
plot(dens, method = "image")       			# show image plot

# plot with  different vertical and horizontal rotation
plot(dens, method = "persp", eye.horiz= 30, eye.vert = 10)	   

dill/wisp documentation built on May 15, 2019, 8:31 a.m.