Usage
erp.yaxis(length.erp = NULL, startmsec=-200, endmsec = 1200, y.tick=seq(-6,6,2),
y.labels = y.tick, y.pos = NA, y.outer = FALSE, y.font = NA, y.lty = "solid",
y.lwd = 1, y.lwd.ticks = 1, y.col = NULL, y.col.ticks = NULL, y.hadj=NA,
y.padj = NA, y.tcl = -0.5, y.tick.both= FALSE, y.cex = 1)
Arguments
length.erp
the length of the ERP vector the axis is referred to.
startmsec
the start time (in ms) of the ERP vector.
endmsec
the end time (in ms) of the ERP vector.
y.labels
the labels (usually a vector of numbers) to be plotted on the y axis.
y.pos
the position of y axis, in terms of x axis coordinates (in ms). Default is NA
and the axis is drawn at the left of the plot.
y.tick
the position (in ms) of y ticks.
y.outer
a logical value indicating whether the y axis should be drawn in the outer plot margin, rather than the standard plot margin.
y.font
font for the text of y labels. Default is par("font").
y.lty
line type for both the y axis line and the y tick marks.
y.lwd
line width for the y axis line.
y.lwd.ticks
line width for the y tick marks.
y.col
colors for the y axis line and the y tick marks.
y.col.ticks
color for the y tick marks (if specified, overrides y.col)
y.hadj
adjustment (see par
("adj")) for all y labels parallel ("horizontal") to the reading direction. If this is not a finite value, the default is used (centring for strings parallel to the axis, alignment of the end nearest the axis otherwise).
y.padj
adjustment for each y tick label purpendicular to the reading direction. For labels parallel to the axes, padj = 0 means right or top alignment, and padj = 1 means left or bottom alignment. This can be a vector given a value for each string, and will be recycled as necessary.
y.tcl
The length of tick marks as a fraction of the height of a line of text. The default value is -0.5
.
y.tick.both
Logical. Should the tick marks be drawn both above and below the y axis?
y.cex
The magnification to be used for the y labels.