Skip to content

Commit

Permalink
ERPLAB 8.10, update SE transparency
Browse files Browse the repository at this point in the history
Set the default value for standard error transparency to 0.7 (so 0.3 opacity).
  • Loading branch information
andrewxstewart committed Dec 3, 2020
1 parent dddd36d commit 8da8ea5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GUIs/ploterpGUI.m
Expand Up @@ -90,6 +90,8 @@ function ploterpGUI_OpeningFcn(hObject, eventdata, handles, varargin)
handles.nchan = nchan;
handles.nbin = nbin;

handles.stdalpha = 0.7;

%
% Color GUI
%
Expand Down Expand Up @@ -424,6 +426,7 @@ function checkbox_stdev_Callback(hObject, eventdata, handles)
set(handles.checkbox_stdev,'Value', 1)
set(handles.popupmenu_std_factor,'Enable','on')
set(handles.popupmenu_transpa,'Enable','on')
set(handles.popupmenu_transpa,'Value', round(handles.stdalpha*10)+1)
valf = get(handles.popupmenu_std_factor,'Value');
if valf==1
set(handles.popupmenu_std_factor,'Value',2)
Expand Down Expand Up @@ -1398,7 +1401,7 @@ function setall(hObject, eventdata, handles)
%meap = 1;
pstyle = 1; % 1 =matlab style 1; 2 =matlab style 2; 3= classic; 4= topographic
errorstd = 0; % pointer for std factor
stdalpha = 0; % transparency for plotting standard error
stdalpha = 0.7; % transparency for plotting standard error
pbox = squareplot(chanArray, hObject, eventdata, handles);
%counterbinwin = 1;
counterwin = [1 1];
Expand Down

0 comments on commit 8da8ea5

Please sign in to comment.