POP_TOPOPLOT Plot scalp map(s) in a figure window. If number of input arguments is less than 3, pop up an interactive query window. Makes (possibly repeated) calls to topoplot().


Usage: >> pop_topoplot( EEG); % pops up a parameter query window
>> pop_topoplot( EEG, typeplot, items, title, plotdip, options...); % no pop-up

Inputs:
EEG   
Input EEG dataset structure (see >> help eeglab)
typeplot   
1-> Plot channel ERP maps; 0-> Plot component maps {default:1}.

Commandline inputs also set in pop-up window:
items   
[array] If typeplot==1 (ERP maps), within-epoch latencies (ms) at which to plot the maps. If typeplot==0 (component maps), component indices to plot. In this case, negative map indices -> invert map polarity, or NaN -> leave a blank subplot. (Ex: [1 -3 NaN 4])
title   
Plot title.
rowscols   
Vector of the form [m,n] giving [rows, cols] per page. If the number of maps exceeds m*n, multiple figures are produced {default|0 -> one near-square page}.
plotdip   
[0|1] plot associated dipole(s) for scalp map if present in dataset. Optional Key-Value Pair Inputs
'colorbar'   
['on' or 'off'] Switch to turn colorbar on or off. {Default: 'on'}
options   
optional topoplot() arguments. Separate using commas. Example 'style', 'straight'. See >> help topoplot for further details. {default: none}

Note: A new figure is created automatically only when the pop_up window is
called or when more than one page of maps are plotted. Thus, this
command may be used to draw topographic maps in a figure sub-axis.

Author: Arnaud Delorme, CNL / Salk Institute, 2001

See also: topoplot(), eeglab()

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

Back to functions