PLOTDATA Plot concatenated multichannel data epochs in two-column format

Usage: >> plotdata(data)
>> plotdata(data,frames)
>> plotdata(data,frames,limits,title,channames,colors,rtitle,ydir)

Inputs:
data   
data consisting of consecutive epochs of (chans,frames)
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}
'channames'   
file of channel names, 4 chars per line ELSE vector of channel numbers (ex: [33:64]) (note that in file, '.' = space) {0 -> [1:chans]}
'colors'   
file of color codes, 3 chars per line ( '.' = space) {0 -> default color order}
'rtitle'   
right-side plot title {0 -> none}
ydir   
y-axis polarity (pos-up = 1; neg-up = -1) {def -> pos-up}

Authors: Scott Makeig & Tzyy-Ping Jung, SCCN/INC/UCSD, La Jolla, 05-01-96

See also: plottopo, timtopo, envtopo, headplot, compmap, eegmovie

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

Back to functions