<div dir="ltr"><div>Dear Emilie,</div><div><br></div><div>The cfg.alim option was renamed to cfg.ylim (see warning in your output), but I don't think that's what is causing your error. You didn't write the relevant code you used so my guess is you only supply one number, instead of a 2-element vector, which correspond to the requested minimum and maximum of the y lim. Perhaps you wanted to use one of the scaling options (cfg.eegscale etc.)? <br></div><div><br></div><div>Good day,</div><div>Nir<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 18, 2021 at 8:04 PM Emilie Caspar <<a href="mailto:ecaspar@ulb.ac.be" target="_blank">ecaspar@ulb.ac.be</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>Dear Fieldtrippers, <div><br></div><div>In former versions of Fieldtrip (e.g. 20171152), when using the functions ft_rejectvisual and ft_rejectartifact in order to visually detect EEG artefacts and reject them, we could define cfg.alim to define the scaling to visualise the trials.</div><div>In the recent version of Fieldtrip, this function is not accepted anymore (e.g. . When we run it, we obtain the following error message in attachement).</div><div><br></div><div>The problem is that when we remove this line, we can indeed see the trials and detect artefacts, but the scaling is not under our control: it changes as we remove trials so making us the task harder.</div><div>Is there any alternative to control the alim in the new versions of Fieldtrip?</div><div><br></div><div>Thank you in advance!</div><div><br></div><div>Emilie</div><div><br></div><div><img id="gmail-m_6510020913264588413gmail-m_147877881604178399464D8D7E1-8BD3-4421-85F3-8C111EDCC745" src="cid:17983dd80e26efc15951" width="691" height="334"></div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><p class="MsoNormal"><span style="font-size:9pt">---------------------------------------------<br></span><b><span style="font-size:9pt;color:rgb(39,136,214)">Emilie Caspar, Ph.D</span></b><span style="font-size:9pt"><br> <br>CO3, Centre de Recherche Cognition et Neurosciences (CRCN), ULB <br>Social Brain Lab, Netherlands Institute for Neuroscience (NIN), KNAW<br>voice : +32 2 650 32 95 <br>mail : <a href="mailto:ecaspar@ulb.ac.be" target="_blank">ecaspar@ulb.ac.be</a><span> </span> <br>office: DB10-138 (campus du Solbosch, ULB)<br> <br>personal website: <a href="https://emiliecaspar.home.blog/" target="_blank">https://emiliecaspar.home.blog/</a></span><span style="font-family:"Times New Roman",serif"><u></u><u></u></span></p></div></div></div></div>
</div>
<div><br></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>