<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=DE link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Dear Roemer,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>thanks a lot for your
help and the time you are taking to assist me! Your remarks have been really
helpful. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>The warning is from
topoplotER, which I call indirectly through ft_clusterplot. Thanks for pointing
out that I am not to use the options directly. I saw some options in the help
of ft_clusterplot together with the hint that more options were to be found in
topoplotER. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Since I keep having
trouble with uploading files to your server, I attach a test MATLAB file
(stripped down to the basics) and my data. I hope that is okay, it is really
quite a small amount of data. Otherwise, I would try my private Ubuntu
computer.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>The warning is<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Warning: cfg.highlight is
now used for specifing highlighting-mode, use cfg.highlightchannel instead of
cfg.highlight for specifiying channels<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>> In ft_topoplotER at
214<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>  In topoplotER at 17<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>  In ft_clusterplot at
277<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>  In test_clusterplot at
5<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks a lot!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Best regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Andrea<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'> </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;color:windowtext'> <st1:PersonName w:st="on">FieldTrip
 discussion list</st1:PersonName> [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Roemer van der Meij<br>
<b><span style='font-weight:bold'>Sent:</span></b> Mittwoch, 20. Januar 2010
12:52<br>
<b><span style='font-weight:bold'>To:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [FIELDTRIP] Thanks /
warning in ft_topoplotER</span></font><font color=black><span lang=EN-US
style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Hi Andrea,<br>
<br>
Always happy to help. And thank you for helping us squashing bugs!<br>
<br>
Are you sure you are using the most recent fieldtrip version? There was a bug
several weeks ago that gave the warning (which used to be on line 214, but is
now on line 215) even when cfg.highlight was not numerical. (if it's numerical,
it is assumed cfg.highlight is used in the old way). If you have a version that
is newer than 19-12-2009 (date of previous bug fix), could you post the exact
code you use to call ft_topoplotER? This could give me a better idea on where
in the code the problem lies. Could you then also post the exact warning matlab
spits out? (if it's not a version problem, something complicated is going on
and all information is helpful). Thanks!<br>
<br>
Concerning ft_clusterplot, you're not actually supposed to use the highlighting
options directly. As clusterplot tries to determine the clustering
automatically, this could possibly interfere with it's normal functioning.
Thanks for pointing this out. I now added a check for these 'forbidden' options
and they will be removed automatically. The updated clusterplot will be
uploaded to the ftp-server somewhere late in the evening today. <br>
<br>
However, if you want to manage you're own clustering directly, you can also do
this using topoplotER/TFR. It might be a bit difficult, but you have to put all
the highlighting options in its own cell (including the ones that were already
in cells). There is 'hidden' documentation about this in topoplotER (you won't
see it with the help/doc command, but you will if you edit the function), you
can find it just below the normal documentation.<br>
I copy-pasted it here for easy reference:<br>
***********<br>
% It is possible to use multiple highlight-selections (e.g.: multiple
statistical clusters of channels)<br>
% To do this, all the content of the highlight-options (including
cfg.highlight) should be placed in a cell-array<br>
% (even if the normal content was already in a cell-array). Specific marker
settings (e.g. color, size) are defaulted when<br>
% not present. <br>
% Example (3 selections):<br>
% cfg.highlight           
   = {'labels', 'labels', 'numbers'}<br>
% cfg.highlightchannel    = {{'MZF03','MZC01','MRT54'}, [1:5], 'C*'}<br>
% cfg.highlightsymbol    = {'o',[],'+'}    
     % the empty option will be defaulted<br>
% cfg.highlightcolor       = {'r',[0 0
1]};      % the missing option will be defaulted<br>
% cfg.highlightsize         =
[];             
        % will be set to default, as will the missing
cfg.highlightfontsize<br>
***********<br>
<br>
Using these options you should be able to get the same individual plots
clusterplot can give you. If you do not want to see the other channels, set
cfg.marker = 'off';. On the use of the different routines, topoplotTFR is
identical to topoplotER, but is just present because of our present naming-scheme.
Clusterplot however, is a wrapper around topoplotER/TFR designed to quickly and
without much configuring plot your statistical clusters (which requires
statistics output as input). By using the 'hidden' options above, you can make
topoplotER/TFR do exactly the same as clusterplot, but then you can specify
your own clusters.<br>
<br>
<br>
We are currently looking into your question number 3, as it appears things go a
little deeper there. There are at least some situations where cfg.neighbours =
[] apparently doesn't work, but we are still figuring out why. For the moment,
a really ugly and time consuming workaround would be to make a for-loop over
single channels, but it would prevent the clustering over channels and should
provide (per channel) the exact same output as cfg.neighbours = [];<br>
<br>
<br>
I hope all of the above helps. Thanks for bringing these bugs to our attention!<br>
<br>
Kind regards,<br>
<br>
Roemer<br>
<br>
<br>
<o:p></o:p></span></font></p>

</div>

</div>

 <BR><BR>__________ Information from ESET NOD32 Antivirus, version of virus signature database 4788 (20100120) __________<BR><BR>The message was checked by ESET NOD32 Antivirus.<BR><BR><A HREF="http://www.eset.com">http://www.eset.com</A><BR> </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>
<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>