ccoh(wave1, wave2, f, wl = 512, ovlp = 0, plot = TRUE,
grid = TRUE, scale = TRUE, cont = FALSE,
collevels = seq(0, 1, 0.01), palette = rev.heat.colors,
contlevels = seq(0, 1, 0.01), colcont = "black",
colbg="white", colgrid = "black",
colaxis = "black", collab="black",
xlab = "Time (s)", ylab = "Frequency (kHz)",
scalelab = "Coherence",
main = NULL,
scalefontlab = 1, scalecexlab =0.75, axisX = TRUE, axisY = TRUE,
flim = NULL, flimd = NULL,
...)
wave
(in Hz). Does not need to be specified if embedded in wave
.TRUE
plots the continuous coherence function
(by default TRUE
).TRUE
plots a y-axis grid
(by default TRUE
).TRUE
plots a dB colour scale on the right
side of the plot (by default TRUE
).TRUE
overplots contour lines on the plot
(by default FALSE
).Details
.cont
plotting.grid
plotting.TRUE
plots time X-axis (by default TRUE
).TRUE
plots frequency Y-axis (by default TRUE
).wl
and ovlp
arguments are applied to increase time/frequency resolution.wl
.temp.colors
, rev.gray.colors.1
,
rev.gray.colors.2
,
spectro.colors
, rev.terrain.colors
,
rev.topo.colors
, rev.cm.colors
corresponding
to the reverse of terrain.colors
, topo.colors
,
cm.colors
.
Use locator
to identify points.coh
, spectro
, spec.pgram
.wave1<-synth(d=1,f=4000,cf=500)
wave2<-synth(d=1,f=4000,cf=800)
ccoh(wave1,wave2,f=4000)
Run the code above in your browser using DataLab