mplot {music}R Documentation

Plot waveform

Description

Plot waveform

Usage

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,
  ...
)

Arguments

x

Input

type

String: "l" for lines, "p" for points. Default = "l"

main

String: Plot title

legend

Logical: If TRUE, show legends on plot, if x has column names

lwd

Float: Line width. Default = 1

pty

String: "m" to fill available device space, "s" for square plot. Default = "m"

bg

Color: background color

fg

Color: foreground color

col

Color: Point/line color

col.axis

Color: Axes' color

col.lab

Color: Label color

col.main

Color: Title color

col.legend

Color: Legend color

tcl

The 'tcl' param of par

xaxt

The 'xaxt' param of par

yaxt

The 'yaxt' param of par

new

The 'new' param of par

mgp

The 'mgp' param of par

mar

Vector, length 4: Margins for par

oma

Vector, length 4: The 'oma' param of par

...

Additional parameters to pass to plot

Author(s)

E.D. Gennatas


[Package music version 0.1.2 Index]