Plot waveform
mplot(
x,
type = "l",
main = NULL,
legend = TRUE,
lwd = 1,
pty = "m",
bg = "black",
fg = "gray50",
col = "cyan",
col.axis = "gray50",
col.lab = "gray50",
col.main = "gray80",
col.legend = "white",
tcl = 0.3,
xaxt = "s",
yaxt = "s",
new = FALSE,
mgp = c(2, 0, 0),
mar = NULL,
oma = NULL,
...
)
Input
String: "l" for lines, "p" for points. Default = "l"
String: Plot title
Logical: If TRUE, show legends on plot, if x
has column names
Float: Line width. Default = 1
String: "m" to fill available device space, "s" for square plot. Default = "m"
Color: background color
Color: foreground color
Color: Point/line color
Color: Axes' color
Color: Label color
Color: Title color
Color: Legend color
The 'tcl' param of par
The 'xaxt' param of par
The 'yaxt' param of par
The 'new' param of par
The 'mgp' param of par
Vector, length 4: Margins for par
Vector, length 4: The 'oma' param of par
Additional parameters to pass to plot
E.D. Gennatas