<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Tara,<div><br><div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="color: black; margin-left: 0px; font-weight: normal; font-family: serif; margin-right: 0px; font-size: 14pt; "><div><p style="margin-top: 15px; ">pnts = eeg_lat2point([-100:10:600]/1000, 1, EEG.srate, [EEG.xmin EEG.xmax]);<br>% Above, convert latencies in ms to data point indices<br>figure; [Movie,Colormap] = eegmovie(mean(EEG.data(:,128:2:192),3), EEG.srate, EEG.chanlocs, 0, 0);<br>seemovie(Movie,-5,Colormap);</p><div style="margin-top: 15px; "><span class="Apple-style-span" style="color: rgb(20, 79, 174); font-size: 14px; -webkit-text-stroke-width: -1; ">1. In the 3rd line, I understand EEG.data to refer to my data in components x points x trials, but I don't understand what<font color="#0066ff">(:,128:2:192),3</font> is referring to (or how I should modify that for my own movie).</span></div></div></div></span></blockquote><div><br></div><div><br></div><div>This is to select a specific time range. Simply put <span class="Apple-style-span" style="font-family: -webkit-serif; font-size: 19px; ">mean(EEG.data,3) to plot all time points.</span></div><div><font class="Apple-style-span" face="-webkit-serif" size="6"><span class="Apple-style-span" style="font-size: 19px;"><br></span></font></div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="color: black; margin-left: 0px; font-weight: normal; font-family: serif; margin-right: 0px; font-size: 14pt; "><div><p style="margin-top: 15px; ">2. How can I have the latency (that corresponds to the topography) displayed as the movie is playing?</p></div></div></span></blockquote><div>Use the last option "startsec" (look at the function help).</div><div><br></div><div>Best,</div><div><br></div><div>Arno</div><div><br></div></div></div></body></html>