ltopo.xy | R Documentation |
draw a series of X-Y scatter/line plots, one-per-channel arranged as a topoplot
ltopo.xy(
c,
x,
y,
z = NA,
zlim = NA,
f = rep(T, length(x)),
y.symm = F,
sz = 0.08,
col = "black",
lwd = 0.5,
xline = numeric(),
yline = numeric(),
pch = NA,
cex = 1,
ylim = NULL,
xlab = "Frequency (Hz)",
ylab = "log(power)",
mt = ""
)
c |
character vector of channel labels |
x |
nuremic vector of X-axis values |
y |
numeric vector of Y-axis values |
z |
optional numeric vector of Z-axis values (default NA) |
zlim |
optional range for Z |
f |
optional boolean vector of length(x), filter in/out each observation |
y.symm |
boolean, make Y-axis symmetric around 0 (default = F) |
sz |
optional numeric value: size of points (default 0.08) |
col |
optional color, default 'black' |
lwd |
optional numeric value for line width (default to 0.5) |
xline |
optional vector of X values to plot vertical lines |
yline |
optional vector of Y values to plot horizontal lines |
pch |
optional point symbol (default NA) |
cex |
optional point size (default 1) |
ylim |
optional Y axis limit |
xlab |
X axis label (default = Frequency Hz)) |
ylab |
Y axis label (default = log(power)) |
mt |
main title (default, "") |
plot is generated in the current graphics device; no return value
If pch
is non-NULL
, then z
can be a vector of values
(length(x)
) and col
can be a 100-element palette: in this case,
the color of each point is scaled by the percentile of z
;
if pch
is missing, this function draws a X-Y line
plots, which must be a single color (i.e. no z
values are allowed)
## Not run:
ltopo.xy(c = hj$CH, x = hj$E, y = log(hj$H1), xlab = "Epoch", ylab = "H1",
pch=20, col=rbpal, cex = 0.2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.