new plotting functionality

Jan Mathijs Schoffelen Jan.Schoffelen at FCDONDERS.RU.NL
Thu Mar 2 11:57:36 CET 2006

Dear Marcel,

Apparently, plotSelection has not been 'tagged' to be visible from the
fieldtrip-version on /home/common/.
I just did it (and hopefully correctly). If will be available within five



-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Marcel Bastiaansen
Sent: Thursday, March 02, 2006 11:33 AM
Subject: Re: [FIELDTRIP] new plotting functionality

Hi Robert, Dennis,

Whenever I try to use the interactive mode, I get the following error

??? Undefined command/function 'plotSelection'.

??? Error while evaluating figure WindowButtonMotionFcn.

And indeed, I cannot find the file plotSelection.m in the FC Donders
fieldtrip version.
Am I doing something wrong?


Robert Oostenveld wrote:

> Dear all,
> Dennis has implemented new plotting functions, they have been
> committed to CVS this afternoon. The most important difference is
> that of adding the option
>   cfg.interactive='yes' or 'no' (default)
> If you specify interactive-yes, you can make a selection, click on
> it, and that selection will be plotted in a new figure. I.e. if you
> start with a topoplotTFR, you can make a selection of channels, and
> the average TFR of that channels will be plotted in the next figure
> as a singleplotTFR. If you select a time-frequency window in that
> singgleplotTFR, that selection will be plotted in a topoplotTFR. A
> similar selection is possible in multiplotTFR, and the same
> interactive sequence of plotting is possible for topo/multi/
> singleplotER.
> In case of 3D (TFR) data, the default xparam is 'time', the yparam is
> 'freq' and the zparam is powspctrm or cohspctrm. In case of 2D data
> (event-related field or power spectra), the xparam is either 'time'
> or 'freq', and the zparam is 'avg' or 'powspctrm'. Please read the
> documentation of each of the functions for the new options.
> best regards,
> Robert & Dennis
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Robert Oostenveld, PhD
> F.C. Donders Centre for Cognitive Neuroimaging
> Radboud University Nijmegen
> phone: +31-24-3619695
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

dr. Marcel C.M. Bastiaansen.
FC Donders Centre for Cognitive Neuroimaging
Visiting address: Kapittelweg 29, 6525 EN Nijmegen, the Netherlands
Mailing address: Trigon 181, PO Box 9101, 6500 HB Nijmegen, the Netherlands
phone: + 31 24 3610 882
fax:   + 31 24 3610 989
mail: marcel.bastiaansen at

More information about the fieldtrip mailing list