library(oce)
data(ctd)
plot(ctd)
data(coastlineSLE)
lonlim <- -(69 + c(52, 41) / 60)
latlim <- 47 + c(48, 58) / 60
# IAL = Ile aux Lievres
plot(ctd, which=c(1,2,3,5),
coastline=coastlineSLE,
adorn=expression({},{},{},{text(-69.72,47.85,'IAL',pos=4)}))
# Trimming
data(ctd.raw)
plot(ctd.raw, which=8)
abline(v=100)
abline(v=120)
abline(v=130)
abline(v=350)
# The range 130 to 350 seems good, but you can narrow in
# by repeating the command below, with differing ranges.
plot(ctdTrim(ctd.raw, "range",
parameters=list(item="index", from=130, to=350)), which=8)
# See results
ctdTrimmed <- ctdTrim(ctd.raw, "range",
parameters=list(item="index", from=130, to=350))
plot(ctdTrimmed)
Run the code above in your browser using DataLab