Hey EEGLab users,<div><br></div><div>I have a further refinement on my question from yesterday.  When I do the following:</div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier; min-height: 14.0px"><br></p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier">figure; erp = pop_erpimage(EEG,1, [5],[],strsetname,4,1,{},[],<span style="color: #a020f0">''</span> , <span style="color: #a020f0">'yerplabel'</span>, <span style="color: #a020f0">'\muV'</span>, <span style="color: #a020f0">'erp'</span>, <span style="color: #a020f0">'on'</span>, <span style="color: #a020f0">'limits'</span>,[NaN NaN -25 25 NaN NaN NaN NaN] , <span style="color: #a020f0">'cbar'</span>, <span style="color: #a020f0">'on'</span>, <span style="color: #a020f0">'vert'</span>,[170 300] ,<span style="color: #a020f0">'topo'</span>, { [5] EEG.chanlocs EEG.chaninfo } );</p>
<div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">The erp variable now contains a matrix of data with 43 columns.  Since the dataset contains 46 events, I was wondering what is contained within these 43 columns?  The numbers are close but short a few ...</span></font></div>
<div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">It seems that if they contain the data for each trial, I could use matlab to average them and then plot the curve directly using matlab, instead of the eeglab tools.  My end goal would be to feed this plot to a subplot, and put many other datasets on the same figure.  </span></font></div>
<div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">Does this make sense?  Does anyone have any experience or suggestions for this?</span></font></div>
<div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">Thanks!</span></font></div>
<div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">Danielle Farrar</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div><br><div class="gmail_quote">On Thu, Jul 16, 2009 at 2:23 PM, Danielle Farrar <span dir="ltr"><<a href="mailto:danielle.farrar@gmail.com">danielle.farrar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey everyone,<div><br></div><div>I'm new to matlab and eeglab, and trying to put together a series of ERP plots to look at and compare a series of them.  I am trying to do a couple of things</div><div>1) I would like to be able to extra the single-channel ERP wave (preferably the one from the erp image).  I just want the wave and not the color map.  I would like to them put a series of these in a subplot, to be able to compare them.  I understand how to get the whole image in there, doing something like this:</div>

<div>subplot(5,3,2); erp = pop_erpimage(EEG,1, [5],[],'Kip 062909 Control 1 Rare',9,1,{},[],'' , 'yerplabel', '\muV', 'erp', 'on', 'limits',[NaN NaN -25 25 NaN NaN NaN NaN] , 'cbar', 'off', 'vert',[170 300] );</div>

<div>However, I would really prefer *just* to insert the erp average wave - I have a large series of waves to plot and there isn't enough space to include the color image as well.</div><div><br></div><div>Also, I would like to be able to overlay a couple of different waves/averages.  For instance, I have four waves -- two representing the ERPs from common stimulus, two representing the ERPs from the rare stimulus.  I would like to be able to group them into averages, and then put them on the same plot.  It seems like the ERP average/compare tool either lets you average them *all* or it lets you average them all individually, but I would like to be able to combine/overlay two averages.</div>

<div><br></div><div>Thanks so much for your help in advance.</div><div><br></div><font color="#888888"><div>Danielle</div>
</font></blockquote></div><br></div>