PLOTTOPO Plot concatenated multichannel data epochs in a topographic format Uses a channel location file with the same format as topoplot or else plots data on a rectangular grid of axes.

Usage: >> plottopo(data,'chan_locs')
>> plottopo(data,[rows cols])
>> plottopo(data,'chan_locs',frames,limits,title,channels,axsize,colors,ydir)

Inputs:
data   
data consisting of consecutive epochs of (chans,frames)
'chan_locs'   
file of channel locations as in >> topoplot example {grid} Else: [rows cols] grid size for location matrix. Example: [6 4]
frames   
time frames/points per epoch {0 -> data length}
[limits]   
[xmin xmax ymin ymax] (x's in ms) {0 (or both y's 0) -> use data limits)
'title'   
plot title {0 -> none}
channels   
vector of channel numbers to plot & label {0 -> all} else, filename of ascii channel-name file
axsize   
[x y] axis size {default [.07 .07]}
'colors'   
file of color codes, 3 chars per line ( '.' = space) {0 -> default color order}
ydir   
y-axis polarity (pos-up = 1; neg-up = -1) {def -> pos-up}

Author: Scott Makeig, SCCN/INC/UCSD, La Jolla, 3-2-98

See also: plotdata, topoplot

See the matlab file plottopo.m (may require other functions)

Back to functions