plot.DATRASraw {DATRAS}R Documentation

Plot map with haul positions.

Description

Plot map with haul positions and ICES squares. If a response variable is present also plot frequencies within each square.

Positions can be added to existing plot.

Usage

  ## S3 method for class 'DATRASraw'
 plot(x, add = FALSE, pch = 16,
    plot.squares = !add, plot.map = !add,
    plot.points = TRUE, plot.response = TRUE, xlim = NULL,
    ylim = NULL, ...)

  ## S3 method for class 'DATRASraw'
 points(x, ...)

Arguments

x

DATRASraw object.

add

Plot on top of existing plot?

pch

Point type of positions.

plot.squares

Add ICES squares?

plot.map

Add a map?

plot.points

Plot haul positions?

plot.response

Plot frequencies of response if present?

xlim

Longitude range of plot.

ylim

Latitude range of plot.

...

Controlling plot of positions.

Examples


x <- readExchange(file1)
y <- subset(x,lon>9,LngtCm<60)
plot(y,col="red")
##' Add response variable
y <- addSpectrum(y)
plot(y,col="red")

[Package DATRAS version 1.0 Index]