plot_z: Plot one or more tracks by depth (Z)

View source: R/plot.R

plot_zR Documentation

Plot one or more tracks by depth (Z)

Description

Plot one or more tracks by depth (Z)

Usage

plot_z(
  x,
  title = "Particle Track - Z",
  zvar = c("sigma", "depth", "Z")[3],
  xvar = c("path_distance", "time")[1],
  ylab = c(sigma = "Sigma", depth = "Depth (m)", Z = "Depth (m)")[zvar],
  xlab = c(path_distance = "Path Distance (m)", time = "Time")[xvar],
  filename = c(NA, "track-Z.png")[1],
  ...
)

Arguments

x

sf POINT object with one or more tracks

title

char, title to apply to the plot

zvar

char, the name of the zvariable

xvar

char, the name of the independent variable ("x")

ylab

char, y axis label

xlab

char, x axis label

filename

NA or char, for optional output

...

other arguments for the graphics device (pdf or png)


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.