From fd72f6eae8576d95ef7dd2b5a65d362cb8926be7 Mon Sep 17 00:00:00 2001 From: rgougelet Date: Sat, 25 Jan 2020 14:44:50 -0800 Subject: [PATCH] Update eegplot.m redundant redraws on first open and when marking epochs for rejection. may be useful on different platforms to ensure plotting? seems unnecessary. --- functions/sigprocfunc/eegplot.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/sigprocfunc/eegplot.m b/functions/sigprocfunc/eegplot.m index 81042809f..4a5001660 100644 --- a/functions/sigprocfunc/eegplot.m +++ b/functions/sigprocfunc/eegplot.m @@ -1178,7 +1178,7 @@ eegplot('scaleeye', 'off', gcf); end - eegplot('drawp', 0); + % eegplot('drawp', 0); eegplot('drawp', 0); if g.dispchans ~= g.chans eegplot('zoom', gcf); @@ -2079,7 +2079,7 @@ end end set(fig,'UserData', g); - eegplot('drawp', 0); % redraw background + % eegplot('drawp', 0); % redraw background end end elseif strcmp(get(fig, 'SelectionType'),'normal');