<div dir="ltr"><div>Dear Elene</div>Please make sure the units of your headmodel (mm in your case) and sensors (cm) are the same.<div>Best</div><div>Diego</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 14 Jan 2019 at 11:17, Elene Beitia Loinaz <<a href="mailto:elene.beitia@alumni.mondragon.edu">elene.beitia@alumni.mondragon.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear fieldtripers,</div><div><br></div><div>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.</div><div><br></div><div>I have tried to function ft_convert_units, but I just obtain the image attached. </div><div><br></div><div>The structure of the information are the next ones,</div><div><u>headmodel:</u></div><div><div>     bnd: [1×3 struct]</div><div>     cond: [0.3300 0.0041 0.3300]</div><div>     mat: [3000×3000 double]</div><div>     type: 'dipoli'</div><div>     unit: 'mm'</div></div><div><u>electrodes:</u></div><div><div>      pnt: [133×3 double]</div><div>      label: {1×133 cell}</div></div><div><br></div><div>Code that I have used to obtained the image below:</div><div><div>ft_determine_coordsys (vol, 'interactive','no')</div><div><br></div><div><br></div><div>figure;</div><div>sens=data.elec;</div><div>sens=ft_convert_units(sens, 'cm');</div><div>ft_plot_vol(vol,'facecolor','skin','edgecolor','none')</div><div>ft_plot_sens(sens,'elecsize',10)</div><div>camlight</div><div>alpha 0.5 </div></div><div><br></div><div>If somebody could help my I would be very grateful,</div><div><br></div><div>Elene</div><div><br></div><div><br></div><div><img src="cid:ii_jqw57hdz0" alt="image.png" width="451" height="361"><br></div></div></div></div></div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="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" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>