<div>Actually, as noted in the documentation, eegplot() already contains options for both Mirek's goals :)</div><div><br></div><div>'winlength':   the window length in seconds</div><div>'spacing':      the y-scale for each channel. This is identical to the value entered into the GUI 'scale' textbox, and which is also changed when clicking the "+" or "-" scaling buttons.</div>

<div><br></div><div>Tim</div><div><br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 2:15 PM, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Mirek,<br>
<br>
This should be done at your own risk.<br>
Here I assume your data is epoched. Type 'edit eeg_rejmacro.m' and go<br>
to line 157. You'll find 'winlength', 5. Change it to 20.<br>
This was far more complicated than I had expected...<br>
<br>
Makoto<br>
<br>
2012/8/3 mirek <<a href="mailto:3mirek@gmail.com">3mirek@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> Hi all!<br>
><br>
> How can I change default view parameteres of the eegplot() window?<br>
> It opens with 5 secs time range and Y scaling factor depending on data<br>
> values.<br>
> I'd prefer static Y scaling and ley's say 20sec by default.<br>
> There are some parameters that can be set in eegplot.m and<br>
> pop_eegplot.m, but those mentioned above are not so easy to be found.<br>
> Thanks!<br>
><br>
> Mirek Wyczesany<br>
> _______________________________________________<br>
> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">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><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Makoto Miyakoshi<br>
JSPS Postdoctral Fellow for Research Abroad<br>
Swartz Center for Computational Neuroscience<br>
Institute for Neural Computation, University of California San Diego<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">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><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>---------  αντίληψη -----------<br>
</div>