plotScan(x, which = 1, xtype = "scan", type = "l", mgp = getOption("oceMgp"), mar = c(mgp[1] + 1.5, mgp[1] + 1.5, mgp[1], mgp[1]), ...)ctd object, i.e. one inheriting from ctd-class.diff(pressure) vs scan, 3 for temperature vs
scan, and 4 for salinity vs scan."scan" (the default) or "time". In the former case, a
scan variable will be created using seq_along,
if necessary. In the latter case, an error results if the data
slot of x lacks a variable called time.par(mgp), and also
for par(mar), computed from this. The default is tighter than the R
default, in order to use more space for the data and less for the axes.par("mar"). If set
to NULL, then par("mar") is used. A good choice for a TS diagram
with a palette to the right is mar=par("mar")+c(0, 0, 0, 1)).oce data: plot,adp-method,
plot,adv-method,
plot,amsr-method,
plot,argo-method,
plot,bremen-method,
plot,cm-method,
plot,coastline-method,
plot,ctd-method,
plot,gps-method,
plot,ladp-method,
plot,lisst-method,
plot,lobo-method,
plot,met-method,
plot,odf-method,
plot,rsk-method,
plot,satellite-method,
plot,sealevel-method,
plot,section-method,
plot,tidem-method,
plot,topo-method,
plot,windrose-method,
plotProfile, plotTS,
tidem-classOther things related to ctd data: [[,ctd-method,
[[<-,ctd-method, as.ctd,
cnvName2oceName, ctd-class,
ctdDecimate, ctdFindProfiles,
ctdRaw, ctdTrim,
ctd, handleFlags,ctd-method,
plot,ctd-method, plotProfile,
plotTS, read.ctd.itp,
read.ctd.odf, read.ctd.sbe,
read.ctd.woce.other,
read.ctd.woce, read.ctd,
subset,ctd-method,
summary,ctd-method,
woceNames2oceNames, write.ctd
library(oce)
data(ctdRaw)
plotScan(ctdRaw)
abline(v=c(130, 350), col='red') # useful for ctdTrim()
Run the code above in your browser using DataLab