P.PRAAMSTRA at BHAM.AC.UK
Tue Apr 15 14:28:56 CEST 2008
Many thanks for your advice!
Just replacing sliceinterp with sourceplot - and using default settings for
opacity mapping - already did the trick.
On 15 Apr 2008 at 12:29, jan-mathijs schoffelen wrote:
> Dear Peter,
> My suggestion would be to use sourceplot, instead of sliceinterp.
> Sourceplot is a more modern
> version of sliceinterp and incorporates most (if not all) of
> sliceinterp's functionality (and more!).
> The function is quite well documented, but to give you some
> cfg.method = 'slices';
> cfg.nslices = a number but by default something like 20
> cfg.funparameter = 'pow';
> cfg.funcolorlim = [-15 15];
> Additionally, you can specify a maskparameter, which will be used
> for opacity-mapping. This could
> be cfg.maskparameter = 'pow'.
> There are several options for the opacity you can play with, but
> when not specifying anything, I
> believe you are already pretty much in the right direction.
> Alternatively, you can create a new field in your data-structure, in
> which you control the opacity
> more explicitly, e.g.
> data.mask = abs(data.pow) >10;
> Note that when you want to plot the output of a statistics-function,
> there's usually a .mask-field
> associated with the data.
> I hope this helps,
The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.
More information about the fieldtrip