<div dir="ltr">Hi Stephen,<div><br></div><div>Thank you for your answer. I already try that, but the result that I obtained is not correct either.</div><div><br></div><div>Code:</div><div><br></div><div><div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">cfg=[];</p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">cfg.method= <span style="color:rgb(178,69,243)">'headshape'</span>;      </p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">cfg.headshape=headmodel.bnd(1); <span style="color:rgb(37,153,45)">% this is the skin surface</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">elec_realigned =ft_electroderealign(cfg,data1.elec);</p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;min-height:12px"> </p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;color:rgb(37,153,45)">%Plot the result to see if is correct </p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;color:rgb(37,153,45);min-height:12px"> </p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">vol = ft_convert_units(vol,<span style="color:rgb(178,69,243)">'mm'</span>);</p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;color:rgb(37,153,45)"><span style="color:rgb(34,34,34)">elec_realigned = ft_convert_units(elec_realigned,</span><span style="color:rgb(178,69,243)">'mm'</span><span style="color:rgb(34,34,34)">)</span><br></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;min-height:12px"> </p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">figure</p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">ft_plot_sens(elec_realigned, <span style="color:rgb(178,69,243)">'style'</span>, <span style="color:rgb(178,69,243)">'b'</span>);</p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;min-height:12px"> </p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">hold <span style="color:rgb(178,69,243)">on</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier">ft_plot_vol(vol);</p></div><div><br></div><div><div><img src="cid:ii_jqyyh5gs2" alt="Captura de pantalla 2019-01-16 a las 9.59.14.png" width="286" height="221" class="gmail-CToWUd gmail-a6T" tabindex="0" style="cursor: pointer; outline: 0px; margin-right: 0px;"></div></div></div><div><br></div><div>Thank you in advance,</div><div><br></div><div>Elene.</div></div>