<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dear Ingenieur Eniso,<br>
<br>
I'm sorry, but I don't follow. You wrote that you were "using
fieldtrip-20130101 and Matlab 7.10" and got the error, but it
worked "on the same system using version fieldtrip-20130101", so
with what version did it crash and with what version did it work?
<br>
In any case, could you please try whether the error persists with
the latest version (20130312)? If the error persists, it would be
of great for us to know how you preprocessed the data and how you
are calling the topoplot function. I'm in particular even more
confused, because the function you are calling should be named
ft_topoplotER or ft_topoplotTFR and not just 'topoplot'. Could you
try using one of these functions instead?<br>
<br>
Best,<br>
Jörn<br>
<br>
On 3/13/2013 4:01 PM, ingenieur eniso wrote:<br>
</div>
<blockquote
cite="mid:CAPjpx=y-q1TmcBocS263DFS0H=coGd_4V2=Fv5MG7jFrYp0QQg@mail.gmail.com"
type="cite">
<div dir="ltr">
<pre><font size="4">I am using fieldtrip-20130101 and Matlab 7.10.I have a problem when I try to plot TFR map. </font>
<font size="4">The error message I receive is:
??? Error using ==> griddata at 53
X and Y must be same length as Z or the lengths
of X and Y must match the size of Z.
Error in ==> topoplot at 463
[Xi,Yi,Zi] = griddata(x', y, data, xi', yi, cfg.interpolation); % Interpolate the topographic data</font>
<font size="4">Error in ==> lecture at 65
<font size="4">[handle]=topoplot(cfg, meanfft)</font>
meanfft is a vector containing the average of the </font><font size="4"><font size="4">spectral </font>power of each electrode.</font>
<font size="4">I have all the electrode locations loaded and the same command works on the same system using version </font><font size="4"><font size="4">fieldtrip-20130101</font>.
Thanks for your help,</font></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands
Contact:
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>