plot.traps {secr} | R Documentation

## Plot traps Object

### Description

Map the locations of detectors (traps).

### Usage

    ## S3 method for class 'traps':
    plot(x, border = 100, label = FALSE, offset = c(6,6), add = FALSE,
      hidetr = FALSE,
      detpar = list(),
      txtpar = list(),
      bg = "white", gridlines = TRUE, gridspace = 100, gridcol = "grey",
      markvarying = FALSE, ...)

### Arguments

`x` | a `traps` object
`border` | width of blank margin around the outermost detectors
`label` | logical indicating whether a text label should appear by each detector
`offset` | vector displacement of label from point on x and y axes
`add` | logical to add detectors to an existing plot
`hidetr` | logical to suppress plotting of detectors
`detpar` | list of named graphical parameters for detectors (passed to `par`)
`txtpar` | list of named graphical parameters for labels (passed to `par`)
`bg` | background colour
`gridlines` | logical for plotting grid lines
`gridspace` | spacing of gridlines
`gridcol` | colour of gridlines
`markvarying` | logical to distinguish detectors whose usage varies among ocasions
`...` | arguments to pass to `eqscplot`

### Details

`offset` may also be a scalar value for equal displacement on the x and y axes. The `hidetr` option is most likely to be used when plot.traps is called by plot.capthist. See `par` and `colours` for more information on setting graphical parameters. The initial values of graphical parameters are restored on exit.

Axes are not labeled. Use `axis` and `mtext` if necessary.

### Value

None

### Author(s)

Murray Efford murray.efford@otago.ac.nz

### See Also

`plot`, `traps`

### Examples

     temptrap <- make.grid()
     plot (temptrap, detpar = list(pch = 16, col = 'blue'),
        label = TRUE, offset = 7)

[Package secr version 1.3.0 Index]