| POP_PLOTDATA |
Plot average of EEG channels or independent components in a rectangular array. Else, (over)plot single trials. |
 |
|
| Usage: |
>> avg = pop_plotdata(EEG, typeplot, indices, trials, title, singletrials, ydir, ylimits); |
|
| Inputs: |
EEG |
Input dataset |
typeplot |
Type data to plot (1=channels, 0=components) {Default:1} |
indices |
Array of channels (or component) indices to plot {Default: all} |
trials |
Array of trial indices. sum specific trials in the average {Default: all} |
title |
Plot title. {Default: []}. |
singletrials |
[0|1], Plot average or overplot single trials 0 plot average, 1 plot single trials {Default: 0} |
ydir |
[1|-1] y-axis polarity (pos-up = 1; neg-up = -1) {def command line-> pos-up; def GUI-> neg-up} |
ylimits |
[ymin ymax] plotting limits {default [0 0] -> data range} |
|
| Outputs: |
avg |
[matrix] Data average |
|
| Author: |
Arnaud Delorme, CNL / Salk Institute, 2001 |
|
| See also: |
plotdata(), eeglab() |