<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Hamish,<div><br></div><div>you cannot use the std_erpplot function but you can use the std_stats function and the std_plotcurve function to plot the result. std_erpplot is going to read the data from disk. It then calls std_stats to compute the stats and std_plotcurve (or std_chantopo) to plot ERPs (or ERP scalp topographies). These functions are clearly documented.</div><div><br></div><div>Best regards,</div><div><br></div><div>Arno</div><div><br><div><div>On Jun 13, 2011, at 4:53 AM, Hamish INNES-BROWN wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello again, I have recently been working with a two STUDYs (12 subjects, two conditions in each study) in which I have calculated some new data for each participant and condition (MGFP), as well as calculated a difference ERP and difference MGFP between the two conditions. </div><div><br></div><div>So I have: </div><div>STUDY1 – cond1 & cond2, calculated DIFF1</div><div>STUDY2 – cond3 & cond4, calculated DIFF2</div><div><br></div><div>My general approach has been </div><ol><li>Load STUDY 1 and calculate the ERP for each condition (I have actually done this by looping through an EEG(x).erp variable I inserted earlier, though I now realise I could have got the same info more easily from STUDY.changrp.erpdata)</li><li>Do the subtraction DIFF1 = ERPcond2 – ERPcond1</li><li>Load STUDY 2 and do the same</li></ol><div>I'm then left with DIFF1 and DIFF2 (60 elecs x 500 pts x 12 ss)</div><div><br></div><div>What I'd like to do is somehow use the std_erpplot function to plot, compare and do the stats on these two new waves, but I don't have the a whole new 'STUDY' structure to go with them. Looking at the the help for std_erpplot it looks like you do need a STUDY as an input.</div><div><br></div><div>I then had a look through std_erpplot.m to see if I could find an internal plotting function that could work with a [elecs, points, ss] matrix, and I found std_plotcurve… Am I heading in the right direction?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br></div></body></html>