This graphical function displays a stereo (2 channels) time wave as an oscillogram in a two-frame plot. The envelope of the wave can also be shown.
oscilloST(wave1, wave2 = NULL, f, from = NULL, to = NULL,
fastdisp = FALSE,
identify = FALSE, plot = TRUE, colwave1 = "black",
colwave2 = "blue", coltitle = "black",
collab = "black", cexlab = 1, fontlab = 1, colaxis = "black",
cexaxis = 1, coly01 = "grey47", coly02 = "black", title = FALSE,
bty = "l")
a first R object.
a second R object.
sampling frequency of wave
(in Hz). Does not need to be specified if embedded in wave
.
start of the oscillogram (in s).
end of the oscillogram (in s).
faster graphic display for long wave
. The stereo
oscillogram is displayed/saved faster in the graphic device/
graphic file when set to TRUE
, with a cost on the graphic resolution.
returns the time coordinate of points chosen with a cursor on the bottom oscillogram.
logical, if TRUE
returns an oscillographic or envelope plot
of wave
(by default TRUE
).
colour of the oscillogram or of the envelope of wave1
.
colour of the oscillogram or of the envelope of wave2
.
if title
is TRUE
, colour of the title.
colour of axes title.
character size for axes title.
font for axes title.
colour of the axes
mangification for axes annotation.
colour of the y=0 line of wave1
.
colour of the y=0 line of wave1
.
logical, if TRUE
plots the title
with information on time and f
(by default FALSE
).
the type of box to be drawn around the oscillogram.
Data are returned as two-column matrix if plot
is FALSE
.
identify
returns a numeric object with the time coordinate
of points successively chosen on the bottom oscillogram.
# NOT RUN {
a<-synth(f=8000,d=1,cf=2000,am=c(50,10),plot=FALSE)
b<-synth(f=8000,d=1,cf=1000,fm=c(0,0,2000,0,0),plot=FALSE)
oscilloST(a,b,f=8000)
# }
Run the code above in your browser using DataLab