cts5_system_Plot: Plot parsed system file

View source: R/CTS5_System.R

cts5_system_PlotR Documentation

Plot parsed system file

Description

plot trajectory of the float from cts5_system_parse

Usage

cts5_system_Plot(
  NavData,
  cycle = NULL,
  pattern = 1:10,
  xlim = NULL,
  ylim = NULL,
  timeWin = c(0, 1),
  relatif = FALSE,
  timeRange = NULL,
  DepthPch = 1,
  PumpPch = 2,
  EVPch = 3,
  Depthtype = "b",
  show.EV = TRUE,
  show.pump = TRUE,
  show.title = F,
  show.cycle = T,
  show.user = T,
  legendPos = "",
  add = F
)

Arguments

NavData

pased data from cts5_system_parse

cycle

list of cycle number to plot

pattern

pattern to plot

xlim

for plot function

ylim

plot ylim

timeWin

relative time window (if xlim=NULL) expressed as a vector of 2 floats. timeWin=c(0,1) is the full window.

relatif

If True, time in min is relative to the first date

timeRange

vector of two dates that delimit the plotted data.

Value

list containing the parsed system information

NavData<-cts5_system_parse("ffff_system_01755_decrypt.log") NavData<-cts5_system_parse("_system_decrypt.log",userdefine="Grounding detected")

cts5_system_Plot(NavData) cts5_system_Plot(NavData,cycle=5:10) cts5_system_Plot(NavData,cycle=5,pattern=1)

## To compare profiles cts5_system_Plot(Navdata,cycle = 46,relatif = T,xlim=c(0,1500),show.cycle = F) cts5_system_Plot(Navdata,cycle = 49,relatif = T,show.cycle = F,add=T)

## To plot an Ice braking Brakedate<-NavData$BrakeRecord$date[1] cts5_system_Plot(NavData,timeRange=c(Brakedate-1800,Brakedate+1800))


EdLeymarie/USEA_R documentation built on July 16, 2025, 1 p.m.