[FieldTrip] Plotting dipole moment in 3D
Micheli, C.
c.micheli at fcdonders.ru.nl
Tue Nov 1 15:47:04 CET 2011
Hi Brain
try this:
figure,ft_plot_dipole(dip.pos,dip.ori,'color','g')
How does it look?
Best,
Cristiano
----- "B Mouthaan" <B.Mouthaan at neuro.umcn.nl> schreef:
> Van: "B Mouthaan" <B.Mouthaan at neuro.umcn.nl>
> Aan: fieldtrip at donders.ru.nl
> Verzonden: Dinsdag 1 november 2011 15:16:35
> Onderwerp: [FieldTrip] Plotting dipole moment in 3D
>
> Plotting dipole moment in 3D
Dear Fieldtrippers,
>
> Does anyone know how to plot the orientationvector of the dipole? I tried it with quiver3 but this makes it unable to project the dipole vector on the BEM model while using hold on.
>
> Any ideas?
>
> here my script to make i more clear:
>
> ft_plot_mesh(vol.bnd(3))
> hold on
> alpha 0.5
>
> for i=1:21
>
> quiver3(dipole.dip.pos(1),dipole.dip.pos(2),dipole.dip.pos(3),dipole.dip.mom(1,i),dipole.dip.mom(2,i),dipole.dip.mom(3,i),'r*', 'MarkerSize', 10)
> pause (1)
> end
>
> Thanks!
>
> Brian
>
>
Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
> The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111101/5e0137f7/attachment-0002.html>
More information about the fieldtrip
mailing list