EEGPLOT Display data in a horizontal scrolling fashion with (optional) gui controls (version 2.3).

Usage: >> eegplot(data,srate,spacing,eloc_file,windowlength,title, position, trialstag, winrej, command);

Inputs:
data   
Input data matrix (chans,timepoints)
srate   
Sampling rate in Hz {default|0: 256 Hz}
spacing   
Space between channels (default|0: max(data)-min(data))
eloc_file   
Electrode filename as in >> topoplot example [] -> no labels; default|0 -> integers 1:nchans vector of integers -> channel numbers
windowlength   
Number of seconds of EEG displayed {default 10 s}
title   
title of the figure
position   
position of the figure [cornerx cornery width height].
trialstag   
points to tag (i.e. trials delimitation {default []}
winrej   
array of rejection windows, each row being a rejection [begpoint endpoint colorR colorV colorB e1 e2 e3 ...] begpoint and endpoint are the delimitation of the window colorR colorV colorB indicate the color of the window e1 e2 e3 ... 0 and 1 represenfing rejected electrode or component in the window (1=rejected). There must be as many electrode or component as row in the data array
command   
command to be evaluated when the button reject is pushed (see Outputs).

Outputs:
TMPREJ   
indexes of rejected trials. this variable is assigned into the global workspave when the user hit the reject button. If the argument command is defined, it can use this variable to perform various operations.

See also: eegplot2trial, eegplot2event, eeglab

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

Back to functions