<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Lucie,<br>
<br>
Could you perhaps send the script with the relevant options you used
with a bit of data so I can try to replicate the bug? If your data has
to be larger than a 1 or 2 MB you can also send it my e-mail address
(see signature). <br>
This would be very helpful in fixing the bug.<br>
<br>
Thanks in advance,<br>
<br>
Best,<br>
Roemer<br>
<br>
<br>
<br>
<br>
On 3/3/2010 3:16 PM, Lucie Charles wrote:
<blockquote
cite="mid:4b0f659b1003030616k235ffc75n4a787e1fb5095bcb@mail.gmail.com"
type="cite">Hi everyone ,<br>
<br>
I noticed a small bug using ft_topoplotER with my EEG-MEG data that I
think I managed to correct. <br>
<br>
When I try to use the option : <br>
<br>
<i>cfg.highlight = ' labels '<br>
</i>or <i><br>
cfg.marker = ' labels '</i><br>
<br>
I have an error message saying that it doesn't find coordinates for
some labels (see at the end for the entire message). I looked into it
and it seems that EEG channels are always in the list of channels that
the function tries to plot even if I'm trying to plot only
magnetometers for example.<br>
<br>
I made two small changes at the ft_topoplotER and it seems to solve the
problem : <br>
<br>
<i>line 606 > templay.label = data.label(labelindex); <br>
</i>instead of <br>
<i>templay.label = </i><i>channelselection(cfg.highlightchannel{icell},
data.label);</i><br>
<br>
<i>line 631 > templay.label = data.label(labelindex); </i><br>
instead of <i><br>
templay.label =
channelselection(setdiff(1:length(data.label),highlightchansel),
data.label);<br>
<br>
</i>This solution works fine for me but I'm not sure that it will
work in any case.<i><br>
</i><br>
Still I hope it helps.<br>
<br>
Cheers, <br>
<br>
Lucie CHARLES<br>
<br>
<br>
<br>
Error Message :<br>
<br>
<i>??? Error using ==> text<br>
Each string specified must have a corresponding set of coordinates<br>
<br>
Error in ==> plot_lay at 73<br>
text(X+labeloffset, Y+(labeloffset*1.5), Lbl,'fontsize',labelsize);<br>
<br>
Error in ==> ft_topoplotER at 617<br>
plot_lay(templay,'box','no','label',labelflg,'point','yes',...<br>
<br>
Error in ==> topoplotER at 17<br>
[varargout{1:nargout}] = funhandle(varargin{:});</i>
<p>----------------------------------</p>
<p>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.</p>
<p> <a class="moz-txt-link-freetext" href="http://listserv.surfnet.nl/archives/fieldtrip.html">http://listserv.surfnet.nl/archives/fieldtrip.html</a></p>
<p> <a class="moz-txt-link-freetext" href="http://www.ru.nl/fcdonders/fieldtrip/">http://www.ru.nl/fcdonders/fieldtrip/</a></p>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Roemer van der Meij MSc
Scientific Programmer & Data-Analyst
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognition
P.O. Box 9104
6500 HE Nijmegen
The Netherlands
Tel: +31(0)24 3612631
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:r.vandermeij@donders.ru.nl">r.vandermeij@donders.ru.nl</a></pre>
</body>
</html>
<p>----------------------------------</p>
<p>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.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>