POP_HEADPLOT Plot spherically-splined EEG field map on a semi- realistic 3-D head model.

Usage: >> EEGOUT = pop_headplot( EEG, typeplot,
latencies/components, title, rowscols, 'key', 'val' ...);

Inputs:
EEG   
dataset structure
typeplot   
1=channel, 0=component (default:1)
latencies/components   
for EEG: array of latencies (in millisecond) at which the head should be plotted. For components: array of index of components to plot.
title   
plot title.
rowscols   
Vector of the form [m,n] where m is total vertical tiles and n is horizontal tiles per page. If the number of maps exceeds m*n, multiple figures will be produced {def|0 -> one near-square page}.

Optional inputs:
'setup'   
['setupfile.spl'] make the headplot spline file
'load'   
['setupfile.spl'] load the headplot spline file
others...   
all headplot options. See >> help headplot

Output:
EEGOUT   
EEG dataset with potentially modified splinefile name.

Note: A new figure is created only when the pop_up window is called or when
several channel/components are plotted, so you may call this command
to draw topographic maps in a tiled window.

Author: Arnaud Delorme, CNL / Salk Institute, 20 March 2002

See also: eeglab, headplot

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

Back to functions