[FieldTrip] ft_neighbourplot does not plot new connections in 3D

"Jörn M. Horschig" jm.horschig at donders.ru.nl
Fri Aug 23 09:28:18 CEST 2013


Dear Miko?aj,

thanks very much for reporting this. I fixed it and the fix should be 
available inthe next FieldTrip release (i.e. tomorrow).

Best,
Jörn

On 8/20/2013 12:54 AM, Miko?aj Magnuski wrote:
> Hi FieldTrippers!
>
> just a short note in case it wasn'r reported before:
> ft_neighbourplot with option .enableedit = 'on' (the bleeding option)
> plots new connections (new - that means click-created) only as 2D
> projections even if everything else is plotted in 3D.
>
> changing lines 286 - 287 to something like:
>     if size(proj,2) == 2
>         Coord = {X, Y};
>     elseif size(proj,2) > 2
>         Z = [proj(curSensId,3) proj(lastSensId,3)];
>         Coord = {X, Y, Z};
>     end
>     hl(curSensId, lastSensId) = line(Coord{:}, 'color', 'r');
>     hl(lastSensId, curSensId) = line(Coord{:}, 'color', 'r');
>
> fixes this problem.
>
>
> Regards,
> Miko?aj Magnuski
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip


-- 
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: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130823/f8cc4844/attachment-0002.html>


More information about the fieldtrip mailing list