<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">Dear all,<div><br></div><div>I am having problems creating an erp plot of a cropped segment of data.</div><div>What I am doing is crop the raw at some specific time points, find the stim events at that points using my own code, epoching, averaging the epochs and then plotting) and I always get the error: <font color="#ff0000">Some of the values to be plotted are NaN</font>. While when doing the same procedure with whole raw data file it works fine.</div><div><br></div><div>Do you have any idea which might be the cause of that?</div><div><br></div><div>Could it be a problem with some values when epoching the short segment of  data?</div><div><br></div><div>Thank you in advance,</div><div><br></div><div>Lidia<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><em><strong><font color="#666666" face="georgia,serif" size="2">Lidia Miguel Telega</font></strong></em></div><div><em style="font-size:12.8px"><font color="#666666"><font face="georgia,serif" size="2">M. Sc. Neuroscience</font></font></em><br></div><div><font face="georgia, serif"><i><span style="color:rgb(106,106,106);font-size:small">Albert-Ludwigs-</span><span style="color:rgb(84,84,84);font-size:small">University of Freiburg, Germany</span></i></font><em style="font-size:12.8px"><font color="#666666"><font face="georgia,serif" size="2"><br></font></font></em></div></div></div></div></div></div></div></div></div></div></div>