<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>I changed the line and the bug was fixed (at least using EEGLAB v11, I haven't tried it on earlier versions yet). Many thanks!</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">De:</span></b> Arnaud Delorme <arno@ucsd.edu><br> <b><span style="font-weight: bold;">Para:</span></b> Simon-Shlomo Poil <poil.simonshlomo@gmail.com> <br><b><span style="font-weight: bold;">CC:</span></b>
 EEGLAB List <eeglablist@sccn.ucsd.edu> <br> <b><span style="font-weight: bold;">Enviado:</span></b> Jueves, 8 de noviembre, 2012 10:54 P.M.<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [Eeglablist] topoplot incompatibility<br> </font> </div> <br><div id="yiv694370699"><div>Dear Angel and Simon,<div><br></div><div>the bug has been fixed in an old version of EEGLAB (I suspect EEGLAB v9 which has now been retired).</div><div>There was indeed a problem with griddata due to newer version of Matlab not being backward compatible with old ones.</div><div>Best,</div><div><br></div><div>Arno</div><div><br><div><div>On 8 Nov 2012, at 03:26, Simon-Shlomo Poil wrote:</div><br class="yiv694370699Apple-interchange-newline"><blockquote type="cite"> Dear all,<br><br>We found the bug. It's in line 72 (or line 69 depending on your version) in griddata.m<br><br>You need to add <b>&&~strcmp(method,'invdist')</b> to the IF statement, then
 everything works.<br>

<br>Hope it helped<br>Simon<br><div class="yiv694370699gmail_extra"><br><br><div class="yiv694370699gmail_quote">2012/11/7 Makoto Miyakoshi <span dir="ltr"><<a rel="nofollow" ymailto="mailto:mmiyakoshi@ucsd.edu" target="_blank" href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>></span><br>

<blockquote class="yiv694370699gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear Angel,<br>
<br>
I see. I remember there was some confusion in topo plot due to Matlab<br>
update last year. Why don't you check your EEGLAB version? If it's<br>
under 11, update it to 11.<br>
<div class="yiv694370699im"><br>
Makoto<br>
<br>
2012/11/7 Angel Tabullo <<a rel="nofollow" ymailto="mailto:angeltabullo@yahoo.com" target="_blank" href="mailto:angeltabullo@yahoo.com">angeltabullo@yahoo.com</a>>:<br>
</div>> Channel names and positions have been previously loaded from a file. It does<br>
> not say labels only. Furthermore, topographies worked fine until I replaced<br>
> Matlab 7 for Matlab 2012.<br>
<div class="yiv694370699im">> ________________________________<br>
> De: Makoto Miyakoshi <<a rel="nofollow" ymailto="mailto:mmiyakoshi@ucsd.edu" target="_blank" href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>><br>
> Para: Angel Tabullo <<a rel="nofollow" ymailto="mailto:angeltabullo@yahoo.com" target="_blank" href="mailto:angeltabullo@yahoo.com">angeltabullo@yahoo.com</a>><br>
> CC: "<a rel="nofollow" ymailto="mailto:eeglablist@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>" <<a rel="nofollow" ymailto="mailto:eeglablist@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>><br>
</div>> Enviado: Miércoles, 7 de noviembre, 2012 2:45 P.M.<br>
<div class="yiv694370699HOEnZb"><div class="yiv694370699h5">><br>
> Asunto: Re: [Eeglablist] topoplot incompatibility<br>
><br>
> Dear Angel,<br>
><br>
> Ok, did you set up with your channels already? Do they have names and<br>
> positions? What does your EEGLAB main GUI say about your channels?<br>
> Does not it say (labels only)?<br>
><br>
> Makoto<br>
><br>
> 2012/11/7 Angel Tabullo <<a rel="nofollow" ymailto="mailto:angeltabullo@yahoo.com" target="_blank" href="mailto:angeltabullo@yahoo.com">angeltabullo@yahoo.com</a>>:<br>
>> Dear Makoto:<br>
>><br>
>> No, I cannot see any topography, not from individual ERPs or ICA plots or<br>
>> from studies.<br>
>><br>
>> ________________________________<br>
>> De: Makoto Miyakoshi <<a rel="nofollow" ymailto="mailto:mmiyakoshi@ucsd.edu" target="_blank" href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>><br>
>> Para: Angel Tabullo <<a rel="nofollow" ymailto="mailto:angeltabullo@yahoo.com" target="_blank" href="mailto:angeltabullo@yahoo.com">angeltabullo@yahoo.com</a>><br>
>> CC: "<a rel="nofollow" ymailto="mailto:eeglablist@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>" <<a rel="nofollow" ymailto="mailto:eeglablist@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>><br>
>> Enviado: Miércoles, 7 de noviembre, 2012 2:30 P.M.<br>
>> Asunto: Re: [Eeglablist] topoplot incompatibility<br>
>><br>
>> Dear Angel,<br>
>><br>
>> Let me confirm if you can plot your IC topographies. Can you see them<br>
>> without any problem?<br>
>><br>
>> Makoto<br>
>><br>
>> 2012/11/2 Angel Tabullo <<a rel="nofollow" ymailto="mailto:angeltabullo@yahoo.com" target="_blank" href="mailto:angeltabullo@yahoo.com">angeltabullo@yahoo.com</a>>:<br>
>>> Hi everyone! I have installed MATLAB 2012 in order to use the NBT plugin<br>
>>> for<br>
>>> EEGLAB, but since then I've been unable to get any kind of topography<br>
>>> plot,<br>
>>> neither from EEGLAB nor NBT. This includes study plots, topographies from<br>
>>> individual subjects and ICA plots.<br>
>>><br>
>>> This is the kind of error message I get:<br>
>>><br>
>>> Error using griddata (line 70)<br>
>>> Unknown method.<br>
>>><br>
>>> Error in topoplot (line 956)<br>
>>>  [Xi,Yi,Zi] = griddata(inty,intx,intValues,yi',xi,'invdist'); %<br>
>>>  interpolate data<br>
>>><br>
>>> Error in std_chantopo (line 284)<br>
>>>            topoplot( tmpplot, opt.chanlocs, 'style', 'map',<br>
>>>            'shading', 'interp');<br>
>>><br>
>>> Error in std_erpplot (line 347)<br>
>>>        std_chantopo(erpdata, 'condnames', STUDY.condition,<br>
>>>        'plottopo', fastif(length(allinds)==1, 'off', 'on'), ...<br>
>>><br>
>>> Error in pop_chanplot (line 302)<br>
>>>            eval(a); STUDY.history =  sprintf('%s\n%s',<br>
>>>            STUDY.history, a);<br>
>>><br>
>>> Error using waitfor<br>
>>> Error while evaluating uicontrol Callback<br>
>>><br>
>>> Did anybody had the same problem? Do I need other version of topoplot<br>
>>> that<br>
>>> is compatible with the latest Matlab? If so, where do I get it?<br>
>>><br>
>>> Many thanks in advance!<br>
>>><br>
>>> _______________________________________________<br>
>>> Eeglablist page: <a rel="nofollow" target="_blank" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
>>> To unsubscribe, send an empty email to<br>
>>> <a rel="nofollow" ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
>>> For digest mode, send an email with the subject "set digest mime" to<br>
>>> <a rel="nofollow" ymailto="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Makoto Miyakoshi<br>
>> JSPS Postdoctral Fellow for Research Abroad<br>
>> Swartz Center for Computational Neuroscience<br>
>> Institute for Neural Computation, University of California San Diego<br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Makoto Miyakoshi<br>
> JSPS Postdoctral Fellow for Research Abroad<br>
> Swartz Center for Computational Neuroscience<br>
> Institute for Neural Computation, University of California San Diego<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Makoto Miyakoshi<br>
JSPS Postdoctral Fellow for Research Abroad<br>
Swartz Center for Computational Neuroscience<br>
Institute for Neural Computation, University of California San Diego<br>
<br>
_______________________________________________<br>
Eeglablist page: <a rel="nofollow" target="_blank" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a rel="nofollow" ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a rel="nofollow" ymailto="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>Simon-Shlomo Poil<br><br>Center of MR-Research <br>University Children’s Hospital Zurich<br><br>Mobile number: +41 (0)76 399 5809<br>Office number: +41 (0)44 266 3129<br>

Skype: poil.simonshlomo<br>Webpage: <a rel="nofollow" target="_blank" href="http://www.poil.dk/s/">http://www.poil.dk/s/</a> and <a rel="nofollow" target="_blank" href="http://www.nbtwiki.net/">http://www.nbtwiki.net</a> and<br><a rel="nofollow" target="_blank" href="http://www.kispi.uzh.ch/Kinderspital/Medizin/mrzentrum_en.html">http://www.kispi.uzh.ch/Kinderspital/Medizin/mrzentrum_en.html</a><br>


</div>
_______________________________________________<br>Eeglablist page: <a rel="nofollow" target="_blank" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a rel="nofollow" ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a rel="nofollow" ymailto="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br></div></div></div><br>_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a
 ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a ymailto="mailto:eeglablist-request@sccn.ucsd.edu" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br><br> </div> </div>  </div></body></html>