pop_plotdata#

pop_plotdata(EEG=None, typeplot=1, indices=None, trials=None, plottitle='', singletrials=0, ydir=1, ylimits=None, *, components=None, gui=None, renderer=None, plot='on', return_com=False, title=None)#

Plot channel or component activity in a rectangular/scalp array.

typeplot=1 selects channels and typeplot=0 selects ICA components. Trial selections and channel/component indices are EEGLAB-facing and therefore 1-based. When singletrials is false, selected trials are averaged before plotting; otherwise every selected trial is overlaid.

components=... is the EEGPrep convenience spelling for typeplot=0, indices=.... Pass plot='off' to build and return the figure without opening a window.

Parameters: