<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Nishant,</div><div><br><blockquote type="cite"><div lang="NL" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">However, there is no information on the format of the cfg structure required by this function. I tried making a cfg.elec which contains a 160x3 matrix, but it gives me errors.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">How can I use the 3D position data to construct a layout?<o:p></o:p></span></div></div></div></blockquote>could you try some of the steps explained here <a href="http://fieldtrip.fcdonders.nl/tutorial/layout">http://fieldtrip.fcdonders.nl/tutorial/layout</a></div><div>It sounds like this is what you need.</div><div>best</div><div>tzvetan</div><div><br></div><br></body></html>