fplot3d.TSD: Plots fish as points or lines in 3-D, from data "psxf",...

View source: R/fplot3d.TSD.R

fplot3d.TSDR Documentation

Plots fish as points or lines in 3-D, from data "psxf", "psyf", "pszf", "rtzf", "rtxf" given in 'data'.

Description

Plots fish as points or lines in 3-D, from data "psxf", "psyf", "pszf", "rtzf", "rtxf" given in 'data'.

Usage

fplot3d.TSD(
  data,
  schoolcol = "red2",
  schoolsize = 0.3,
  schoolsample = 0.01,
  schoollen = 4,
  schoollwd = 1,
  schooltype = "p",
  add = FALSE,
  aspect = "iso",
  ...
)

Arguments

schoolcol

is the color of the points of the fish positions if school==TRUE or a string representing the directory containing .school files to be read for fish positions.

schoolsize

is the size of the points of the fish positions if school==TRUE or a string representing the directory containing .school files to be read for fish positions.

schoolsample

is the proportion of the fish positions given by the .school specified by 'school', that are to be sampled for plotting. Useful when the number of fish is large.

schoollen

is the length of the fish when plotted as lines.

schoollwd

is the width of the fish when plotted as lines.

schooltype

is either "p" (default) for plotting points a the fish positions, "l" for plotting the fish as lines in the direcitons of the fish, or "o", for plotting lines with a dot at the head of the fish. Several values can be given.

add

is TRUE if points are to be added to an existing plot.

aspect

is used to set the dimension of the plotting frame (see aspect3d()).

event

is the identifier of the event, either given as the number of the event, a string contained in the name of the event, or the path of the event directory.

t

is either a vector of the numbers of the pings to be returned, as listed from 1 to the number of pings in the event, or a vector of time points given as strings "yyyymmddHHMMSS.FFF" or "HHMMSS.FFF" from which the range of the time points to be read is extracted. If t=="all", all files are read and if t=="none" an empty list is returned.


arnejohannesholmin/cpplot3d documentation built on April 14, 2024, 11:36 p.m.