<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello eeglabers,<br>
</p>
<p><br>
</p>
<p>Ive come across an error when running the following code:<br>
</p>
<p><br>
</p>
<p>pop_rejchan( EEG);<br>
</p>
<p><br>
</p>
<p>The error is:<br>
</p>
<p><br>
</p>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">Error using plot</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">Color value must be a 3 element numeric vector</span></div>
<div><br style="color: rgb(255, 0, 0); text-decoration: none;">
</div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">Error in eegplot (line 1264)</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">               plot(data(g.chans-i+1,lowlim:highlim)</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">               -meandata(g.chans-i+1)+i*g.spacing</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">               +</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">               (g.dispchans+1)*(oldspacing-g.spacing)/2</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">               +g.elecoffset*(oldspacing-g.spacing),</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">               ...</span></div>
<div><br style="color: rgb(255, 0, 0); text-decoration: none;">
</div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">Error in eegplot (line 1118)</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">  eegplot('drawp', 0);</span></div>
<div><br style="color: rgb(255, 0, 0); text-decoration: none;">
</div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">Error in pop_rejchan (line 221)</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">    eegplot(EEG.data(opt.elec,:,:), 'srate',</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">    EEG.srate, 'title', 'Scroll component</span></div>
<div><span style="color: rgb(255, 0, 0); text-decoration: none;">    activities -- eegplot()', ...</span><br>
</div>
<p><br>
</p>
<p>Kind regards,<br>
</p>
<p><br>
</p>
<p>Tyler<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px">*************************
<div style="font-family:Tahoma"><br>
</div>
<div><font face="Arial"><i>Tyler Grummett ( BBSc, BSc(Hons I))</i></font></div>
<div><font face="Arial"><i>PhD Candidate</i></font></div>
<div><font face="Arial"><i>Brain Signals Laboratory</i></font></div>
<div><font face="Arial"><i>Flinders University</i></font></div>
<div><font face="Arial"><i>Rm 5A301</i></font></div>
<div><font face="Arial"><i>Ext 66124</i></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>