<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<blockquote type="cite"
cite="mid1107182116.41fe4224afcf6@www.webmail.ucl.ac.uk">
<pre wrap="">1) I would like to know how can I capture the beggining and the end of the
marked segment on the eegplot screen.
Obviosuly, this data is needed by the REJECT button but I can not find this data
in the code. Are they internal variables?
</pre>
</blockquote>
As explained in the "eegplot()" function header, it is available in the
variable "TMPREJ" in the global workspace if you launch "eegplot()"
with a non-empty command, for instance:<br>
<br>
eegplot(EEG.data, 'command', ' ');<br>
<br>
The first two rows of "TMPREJ" indicate the beginning and end
respectively of each window in data points. The functions
eegplot2event() and eegplot2trial() can process this array.<br>
<blockquote type="cite"
cite="mid1107182116.41fe4224afcf6@www.webmail.ucl.ac.uk">
<pre wrap="">2) How does the eegplot function reach the eeg_eegrej function? I thought that
there should be a reference to eeg_eegrej IN the eggplot code but I couldn't
find it.
</pre>
</blockquote>
As explained above, "eegplot()" uses the optional input command
parameter to do so (which is added to the "eegplot()" call by the
function "pop_eegplot()" called from the EEGLAB menu).<br>
<br>
Arno<br>
<div class="moz-signature">-- <br>
<br>
<b><font face="Arial,Helvetica"><font size="+1">Arnaud Delorme, Ph.D.</font></font></b>
<br>
<font face="Arial,Helvetica"><font size="+1"><font color="#3333ff">Swartz
Center for Computational Neuroscience,</font> <font color="#3333ff">INC,
University of San Diego California</font></font></font>
<br>
La Jolla, CA92093-0961, USA
<p><font face="Arial,Helvetica"><b>Tel</b> :<i>(+1)-858-458-1927 ext 15</i></font>
<br>
<font face="Arial,Helvetica"><b>Fax</b> :<i>(+1)-858-458-1847</i></font>
<br>
<font face="Arial,Helvetica"><b>Web page</b>: <a
href="http://www.sccn.ucsd.edu/%7Earno">sccn.ucsd.edu/~arno</a></font>
<br>
<font face="Arial,Helvetica"><b>To think upon</b>:</font></p>
<blockquote><dt><font face="Arial,Helvetica"> It is by freeing the mind
from external influences, whether casual or emotional, that it obtains
power to see somewhat of the truth of things.
<font size="-5"><br>
<br>
</font></font></dt>
<dd><font face="Arial,Helvetica"><i>Aleister Crowley</i></font></dd>
</blockquote>
</div>
</body>
</html>