<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Peter,
<div><br>
</div>
<div><a href="https://code.google.com/p/fieldtrip/source/browse/trunk/ft_clusterplot.m">https://code.google.com/p/fieldtrip/source/browse/trunk/ft_clusterplot.m</a></div>
<div><br>
</div>
<div>My change was dated the 11th (see the above link). I believe that you just had the bad luck to have an FT copy that had a bug in it. I suggest to upgrade to the 20150812 version (just to be sure).</div>
<div>Best,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On Aug 13, 2015, at 5:54 PM, Peter Lyons <<a href="mailto:plyons@udel.edu">plyons@udel.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi Jan-Mathijs,
<div><br>
</div>
<div>I believe you may be correct. The error I had received was from a recent Fieldtrip download (20150810). I ran my script again on an older version (20150522) I have installed on another computer and the plot came out great. </div>
<div><br>
</div>
<div>Thanks again for your help!</div>
<div><br>
</div>
<div>Peter</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 13, 2015 at 8:13 AM, Schoffelen, J.M. (Jan Mathijs)
<span dir="ltr"><<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Peter,<br>
I cannot reproduce your problem. Are you using the latest version of fieldtrip. I very recently fixed a bug in ft_clusterplot, which could well explain your problem. If you are actually using the most recent FT-version, then my change might have introduced
 a bug :o).<br>
<br>
Best,<br>
Jan-Mathijs<br>
<div>
<div class="h5"><br>
On Aug 12, 2015, at 10:35 PM, Peter Lyons <<a href="mailto:plyons@udel.edu">plyons@udel.edu</a>> wrote:<br>
<br>
> Hello Everyone,<br>
><br>
> I'm working on a cluster-based permutation analysis on time-frequency EEG data. I was able to successfully run the ft_freqstatistics function after computing the grand average (ft_freqgrandaverage) for my two independent groups.<br>
><br>
> I am, however, struggling with viewing the topography of my cluster output using the ft_clusterplot function. I suspect the case may be that I am missing a time dimension in my data set based on this error message that I received:<br>
><br>
> "Attempted to access stat.time(15); index out of bounds because numel(stat.time)=0.<br>
><br>
> Error in ft_clusterplot (line 248)<br>
>       time_perclus = [stat.time(ind_min) stat.time(ind_max)];"<br>
><br>
><br>
> Is there a viable way to use the ft_clusterplot if the dimensions contained in my data set is "chan_freq"?<br>
><br>
> Or, is there an alternative plotting function that would work just as well or better?<br>
><br>
> I would greatly appreciate any assistance with this.<br>
><br>
> Thank you!<br>
><br>
> Peter<br>
</div>
</div>
> _______________________________________________<br>
> fieldtrip mailing list<br>
> <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote>
</div>
<br>
</div>
</body>
</html>