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="gmail_extra"><br><br><div class="gmail_quote">2012/11/7 Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span><br>
<blockquote class="gmail_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="im"><br>
Makoto<br>
<br>
2012/11/7 Angel Tabullo <<a 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="im">> ________________________________<br>
> De: Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>><br>
> Para: Angel Tabullo <<a href="mailto:angeltabullo@yahoo.com">angeltabullo@yahoo.com</a>><br>
> CC: "<a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>" <<a 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="HOEnZb"><div class="h5">><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 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 href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>><br>
>> Para: Angel Tabullo <<a href="mailto:angeltabullo@yahoo.com">angeltabullo@yahoo.com</a>><br>
>> CC: "<a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>" <<a 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 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 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<br>
>>> <a 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 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 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 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 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 href="http://www.poil.dk/s/" target="_blank">http://www.poil.dk/s/</a> and <a href="http://www.nbtwiki.net" target="_blank">http://www.nbtwiki.net</a> and<br><a href="http://www.kispi.uzh.ch/Kinderspital/Medizin/mrzentrum_en.html" target="_blank">http://www.kispi.uzh.ch/Kinderspital/Medizin/mrzentrum_en.html</a><br>
</div>