ingrid.nieuwenhuis at FCDONDERS.RU.NL
Tue Aug 7 10:55:25 CEST 2007
If I understand correctly you want to not plot data but just the sensors
that are significant in one color and the rest in another. If you look in
the help of the function topoplot.m (this function is called both by
topoplotER and topoplotTFR) you can see many extra options, including
highlighting options. If you want the sensors themselves to be colored and
no data underneath you could use a cfg like this:
Cfg.style = 'blank';
Cfg.highlight = electrode numbers you want to highlight
Cfg.hlcolor = color you want for the highlight
Cfg.ecolor = color you want for the other electrodes
If you call topoplotER or topopltTFR the cfg is passed on to topoplot.m, but
you could also call topoplot.m directly. But if you do that look in the help
of topoplot.m how it wants it's data.
You do have to give in some structure as data even if the style is blank,
but since it isn't plotted it doesn't matter what is in it.
On the FieldTrip page there is also a tutorial on plotting containing more
Hope this is what you meant.
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Sameer Walawalkar
Sent: Monday, August 06, 2007 10:39 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP] plotting clusters
After doing clusterandanalysis, I want to plot the significant clusters
(say the most significant) in a binary fashion: such that that all
sensors in the significant clusters get a single colour highlighting (say
red) and the rest a different (say blue).
The current method I am using gives me plots which colour code the values
of significant clusters and also some contours over sensors which should
just be shut out by the masking.
I am using
plotdata.maskedraweffect= mask; %clusrand.raweffect.*mask;
plotdata.freq = clusrand.freq
plotdata.label = clusrand.labelcmb(:,2);
cfg.xparam = 'freq';
cfg.xlim = [min(clusrand.freq) max(clusrand.freq)];
cfg.layout = 'NM306planar.lay';
Any suggestions about what I should be using?
Thanks in advance for your time.
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
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