<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:14pt;color:#000000;"><div><pre style="font-family: arial,helvetica,sans-serif;"><font size="3">Dear EEGlab members,<br><br>I'm a new user of EEGlab, and I have two questions. Please fell free to contribute.<br><br>I'm using "pop_newtimef" to plot a specific time limit  </font><font size="3">[10000 -150000ms]</font><font size="3"> of my data. However because of default </font><font size="3">number of output times ( 'timesout',200)<br> i can never be sure whether the image that I have plotted is representing the time points that I am interested. <br>When I change it, it says "Subscripted assignment dimension mismatch."<br></font></pre><font size="3">the whole code is like the following,<br></font><font size="3"><br></font><div style="margin-left: 40px;"><font style="font-family: times new roman,new
 york,times,serif;" size="3">for i=1:EEG.nbchan</font><br style="font-family: times new roman,new york,times,serif;"><br style="font-family: times new roman,new york,times,serif;"><font style="font-family: times new roman,new york,times,serif;" size="3">[ersp itc powbase times1 freqs]=pop_newtimef( EEG, 1, i, [10000  150000], [0] ,'type', 'phasecoher', 'topovec',i, 'elocs', EEG.chanlocs, 'chaninfo', EEG.chaninfo, 'title','Channel power and inter-trial phase coherence','padratio', 1, 'plotphase','off','maxfreq',45,'baseline',NaN,'timesout',200);</font><br style="font-family: times new roman,new york,times,serif;"><font style="font-family: times new roman,new york,times,serif;" size="3">spect1(i,:,:)=ersp;</font><br style="font-family: times new roman,new york,times,serif;"><br style="font-family: times new roman,new york,times,serif;"><font style="font-family: times new roman,new york,times,serif;" size="3">end</font><br style="font-family: times new
 roman,new york,times,serif;"><br style="font-family: times new roman,new york,times,serif;"><font style="font-family: times new roman,new york,times,serif;" size="3">figure</font><br style="font-family: times new roman,new york,times,serif;"><font style="font-family: times new roman,new york,times,serif;" size="3">imagesc(times1,freqs,squeeze(mean(spect1)));axis xy</font><br style="font-family: times new roman,new york,times,serif;"><font style="font-family: times new roman,new york,times,serif;" size="3">colorbar</font><br></div><font size="3"><br>at the end spect1 is;<br><br>  Name         Size                    Bytes  Class     Attributes<br><br>  spect1      30x922x200           
 44256000     double    <br><br>Another thing; is there an easy way to change/control the range of </font><font size="3">color map of </font><font size="3">power spectrum  in 'pop_newtimef'?<br><br>Thank you!<br><br style="font-family: arial,helvetica,sans-serif;"></font><pre><font style="font-family: arial,helvetica,sans-serif;" size="3">Best regards,<br>Ceren Akdeniz</font><br></pre><br></div>
<!-- cg15.c2.mail.re1.yahoo.com compressed/chunked Fri Jan 22 00:54:23 PST 2010 -->
</div><br>

      </body></html>