<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Emilie<div><br></div><div>ft_rejectvisual with method=channel does not make use of the layout, so that is not a suitable comparison. </div><div><br></div><div>Can you do </div><div><span style="color: rgb(178, 69, 243); font-family: Courier; font-size: 10px;"><br></span></div><div><font color="#0433ff" face="Andale Mono" style="font-size: 11px;">cfg = [];</font></div><div><font color="#0433ff" face="Andale Mono" style="font-size: 11px;">cfg.layout = 'biosemi64.lay';</font></div><div><font color="#0433ff" face="Andale Mono" style="font-size: 11px;">layout = ft_prepare_layout(cfg) </font></div><div><br></div><div>and compare layout.label with the labels in the data? Or you can also simply open the biosemi64.lay file in a text editor.</div><div><br></div><div>best regards,</div><div>Robert</div><div><br></div><div><br><div><div>On 02 Jan 2015, at 11:23, Emilie Caspar <<a href="mailto:ecaspar@ulb.ac.be">ecaspar@ulb.ac.be</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Fieldtrippers, </div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It's probably a very simple question but I don't understand the problem.</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I would like to use multi plot and topoplot for my data.</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">So I wrote:</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg = [];</div><div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg.xlim = [-0.1 0.4];</div><div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg.ylim = [-10 13];</div><div style="margin: 0px; font-size: 10px; font-family: Courier; color: rgb(178, 69, 243); "><span style="">cfg.layout = </span>'biosemi64.lay'<span style="">;</span></div><div style="margin: 0px; font-size: 10px; font-family: Courier; ">figure;</div><div style="margin: 0px; font-size: 10px; font-family: Courier; ">ft_multiplotER(cfg, avgRobotC_ToneC, avgRobotC_ToneI, avgRobotI_ToneC, avgRobotI_ToneI);</div><div style="margin: 0px; font-size: 12px; font-family: Courier; min-height: 14px; "><br></div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">However, the mistake indicates that labels in data and labels in layout do not match. However, I'm sure of the layout I'm using and in addition, when I'm using the ft_rejectvisual (in the same script) with the following line codes, it works very well:</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin: 0px; font-size: 10px; font-family: Courier; "><i>cfg = [];</i></div><div style="margin: 0px; font-size: 10px; font-family: Courier; "><i> cfg.alim = 100;</i></div><div style="margin: 0px; font-size: 10px; font-family: Courier; "><i> cfg.keepchannel = <span style="color: rgb(178, 69, 243); ">'yes'</span>;</i></div><div style="margin: 0px; font-size: 10px; font-family: Courier; "><i> cfg.layout = <span style="color: rgb(178, 69, 243); ">'biosemi64.lay'</span>;</i></div><div style="margin: 0px; font-size: 10px; font-family: Courier; "><i> cfg.method = <span style="color: rgb(178, 69, 243); ">'channel'</span>; <span style="color: rgb(37, 153, 45); ">%% Or 'trial'</span></i></div><div style="margin: 0px; font-size: 10px; font-family: Courier; "><i> cfg.metric = <span style="color: rgb(178, 69, 243); ">'var'</span>;</i></div><div style="margin: 0px; font-size: 10px; font-family: Courier; "><i> clean_data = ft_rejectvisual(cfg, epData); </i></div><div>…...</div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">So I clearly don't understand why multi plot and topoplot do not accept this layout, while the layout is accepted for another function in the same script on the same data. Singleplot works very well.</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Have you any idea?</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks!</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Emilie</div><div apple-content-edited="true"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "></div></div><div apple-content-edited="true">
<div style="font-family: Helvetica; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="font-family: Helvetica; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="font-family: Helvetica; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div></div></div></div></div>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></body></html>