<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi Brain<br>try this:<br><br> figure,ft_plot_dipole(dip.pos,dip.ori,'color','g')<br><br>How does it look?<br><br>Best,<br>Cristiano<br><br><br>----- "B Mouthaan" <B.Mouthaan@neuro.umcn.nl> schreef:
<br>> Van: "B Mouthaan" <B.Mouthaan@neuro.umcn.nl><br>> Aan: fieldtrip@donders.ru.nl<br>> Verzonden: Dinsdag 1 november 2011 15:16:35<br>> Onderwerp: [FieldTrip] Plotting dipole moment in 3D<br>><br>>
<title>Plotting dipole moment in 3D</title>
<!-- Converted from text/plain format -->
<p><font size="2">Dear Fieldtrippers,<br>>
<br>>
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.<br>>
<br>>
Any ideas?<br>>
<br>>
here my script to make i more clear:<br>>
<br>>
ft_plot_mesh(vol.bnd(3))<br>>
hold on<br>>
alpha 0.5<br>>
<br>>
for i=1:21<br>>
<br>>
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)<br>>
pause (1)<br>>
end<br>>
<br>>
Thanks!<br>>
<br>>
Brian<br>>
<br>>
</font>
</p>
<br clear="all">
<p style="font-size:13px;font-family:arial;">
Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.<br>> The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.<br>>
</p>
<br>> _______________________________________________<br>> fieldtrip mailing list<br>> fieldtrip@donders.ru.nl<br>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div></body></html>