Skip to content

Commit 8da8ea5

Browse files
ERPLAB 8.10, update SE transparency
Set the default value for standard error transparency to 0.7 (so 0.3 opacity).
1 parent dddd36d commit 8da8ea5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

GUIs/ploterpGUI.m

+4-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ function ploterpGUI_OpeningFcn(hObject, eventdata, handles, varargin)
9090
handles.nchan = nchan;
9191
handles.nbin = nbin;
9292

93+
handles.stdalpha = 0.7;
94+
9395
%
9496
% Color GUI
9597
%
@@ -424,6 +426,7 @@ function checkbox_stdev_Callback(hObject, eventdata, handles)
424426
set(handles.checkbox_stdev,'Value', 1)
425427
set(handles.popupmenu_std_factor,'Enable','on')
426428
set(handles.popupmenu_transpa,'Enable','on')
429+
set(handles.popupmenu_transpa,'Value', round(handles.stdalpha*10)+1)
427430
valf = get(handles.popupmenu_std_factor,'Value');
428431
if valf==1
429432
set(handles.popupmenu_std_factor,'Value',2)
@@ -1398,7 +1401,7 @@ function setall(hObject, eventdata, handles)
13981401
%meap = 1;
13991402
pstyle = 1; % 1 =matlab style 1; 2 =matlab style 2; 3= classic; 4= topographic
14001403
errorstd = 0; % pointer for std factor
1401-
stdalpha = 0; % transparency for plotting standard error
1404+
stdalpha = 0.7; % transparency for plotting standard error
14021405
pbox = squareplot(chanArray, hObject, eventdata, handles);
14031406
%counterbinwin = 1;
14041407
counterwin = [1 1];

0 commit comments

Comments
 (0)