<div dir="auto">Thank you, that was the problem!!!</div><br><div class="gmail_quote"><div dir="ltr">El lun., 14 ene. 2019 12:53, Eelke Spaak <<a href="mailto:e.spaak@donders.ru.nl">e.spaak@donders.ru.nl</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah sorry, I was getting your previous replies with a delay. If 'mm'<br>
makes them even smaller, perhaps 'm' is the right unit? In any case, I<br>
very strongly suspect that a spatial unit mismatch is the cause of the<br>
discrepancy you're seeing.<br>
<br>
Cheers,<br>
Eelke<br>
<br>
On Mon, 14 Jan 2019 at 11:54, Eelke Spaak <<a href="mailto:e.spaak@donders.ru.nl" target="_blank" rel="noreferrer">e.spaak@donders.ru.nl</a>> wrote:<br>
><br>
> Perhaps a stupid question but have you also tried sens =<br>
> ft_convert_units(sens, 'mm')?<br>
><br>
> Eelke<br>
><br>
><br>
> On Mon, 14 Jan 2019 at 10:52, Elene Beitia Loinaz<br>
> <<a href="mailto:elene.beitia@alumni.mondragon.edu" target="_blank" rel="noreferrer">elene.beitia@alumni.mondragon.edu</a>> wrote:<br>
> ><br>
> > Dear fieldtripers,<br>
> ><br>
> > I am tryng to visualize the electrodes and the headmodel at the same time. The problem that I have is that I need to reescale one of them.<br>
> ><br>
> > I have tried to function ft_convert_units, but I just obtain the image attached.<br>
> ><br>
> > The structure of the information are the next ones,<br>
> > headmodel:<br>
> >      bnd: [1×3 struct]<br>
> >      cond: [0.3300 0.0041 0.3300]<br>
> >      mat: [3000×3000 double]<br>
> >      type: 'dipoli'<br>
> >      unit: 'mm'<br>
> > electrodes:<br>
> >       pnt: [133×3 double]<br>
> >       label: {1×133 cell}<br>
> ><br>
> > Code that I have used to obtained the image below:<br>
> > ft_determine_coordsys (vol, 'interactive','no')<br>
> ><br>
> ><br>
> > figure;<br>
> > sens=data.elec;<br>
> > sens=ft_convert_units(sens, 'cm');<br>
> > ft_plot_vol(vol,'facecolor','skin','edgecolor','none')<br>
> > ft_plot_sens(sens,'elecsize',10)<br>
> > camlight<br>
> > alpha 0.5<br>
> ><br>
> > If somebody could help my I would be very grateful,<br>
> ><br>
> > Elene<br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > fieldtrip mailing list<br>
> > <a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
> > <a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>