[Eeglablist] eegplot

Bruzadin Nunes, Ugo ugob at siu.edu
Sat Nov 20 12:40:43 PST 2021


Dear Simona,

You will have to modify the function eegplot.m.

There are many ways you can change that, but an easy solution was to change line 292:

original:
try, g.winlength; catch, g.winlength = 5; end; % Number of seconds of EEG displayed

modified:
try, g.winlength = 20; catch, g.winlength = 20; end; % Number of seconds of EEG displayed

This way, it will always display 20 seconds or 20 epochs by default.

Hope this helps!

Best wishes,

Ugo


Ugo Bruzadin Nunes, Ph.D. Candidate

Visiting Assistant Professor, Psychology

Webster University

Office Location: ISB room 316

Office Number: (314) 968-7677
Ugo at webster.edu<mailto:UgoBruzadinNunes at webster.edu>

________________________________
From: Simona Sgarbi <s.sgarbi001 at studenti.unibs.it>
Sent: Saturday, November 20, 2021 11:43 AM
To: eeglablist at sccn.ucsd.edu <eeglablist at sccn.ucsd.edu>
Subject: [Eeglablist] eegplot

Dear all,
I'm writing to you for another help. I've used the EEG.history command in
order to get all my functions in a Matlab script and especially for
plotting the data I've used the eegplot function. When I plot my result I
obtain a graph with the time axis range of just 5 seconds. I've tried to
use the setting and change the time range to display in 20s but this
operation doesn't appear in the EEG history, so when I call the EEG.history
and run that script, the figure I obtain is again a graph with 5 seconds
range.
How can I modify this line
*pop_eegplot( EEG, 1, 1, 1);*
in order to obtain a time range of 20 seconds?

Thank you all.
Kind regards,

Simona

--


Informativa sulla Privacy: https://urldefense.proofpoint.com/v2/url?u=https-3A__www.unibs.it_it_node_1452&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=JaTv4sPOmmpfoGhfNYPP9EK9ss5IdKXkpa3yZHgxcHxDlda55ReAjPoJsIV5BSwH&s=aaDj6HToy32-6slKlofmHENf3mHAQtUldNh8iOPxm3w&e=
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.unibs.it_it_node_1452&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=JaTv4sPOmmpfoGhfNYPP9EK9ss5IdKXkpa3yZHgxcHxDlda55ReAjPoJsIV5BSwH&s=aaDj6HToy32-6slKlofmHENf3mHAQtUldNh8iOPxm3w&e= >



More information about the eeglablist mailing list