PlotCTS5: PlotCTS5 : Plot a profile

View source: R/PlotCTS5_USEA.R

PlotCTS5R Documentation

PlotCTS5 : Plot a profile

Description

PlotCTS5 : create a pdf file with profile plots

Usage

PlotCTS5(
  login = "lov",
  dataprofile,
  PhaseToPlot = c("PRE", "DES", "PAR", "ASC", "SUR"),
  add = FALSE,
  technical = TRUE,
  paper = "A4",
  mfrow = c(3, 2),
  SensorsToPlot = NULL
)

Arguments

login

identifiant used at the beginning of the pdf filename

dataprofile

data and technical files read from cts5_readProfile processing by usea_ProcessData

PhaseToPlot

list of phase to plot

add

if false a new pdf will be created. if true all plots will be generated in the current open device

technical

if true, technical information will be plotted

paper

paper size

mfrow

mfrow

SensorsToPlot

vector of sensors to include in the plot. If NULL plot all sensors.

Examples


login="lovuse001a"

floatname="ffff"

Meta<-cts5_readMetaSensor(floatname=floatname)

cts5_decode(floatname=floatname,CycleNumber=c,PatternNumber = p,subdir="./CSV")

dataprofile<-cts5_ProcessData(Meta$SENSORS,dataprofile)

dataprofile<-cts5_ProcessData(Meta$SENSORS,dataprofile)

PlotCTS5(login=login,dataprofile,PhaseToPlot=c("PRE","DES","PAR","ASC","SUR"),add=FALSE,technical=TRUE,paper = "A4",mfrow=c(3,2))

# small list of sensors in the terminal
PlotCTS5(dataprofile,add=TRUE,SensorsToPlot=c("ramses","ramses2"))


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