Skip to content

Commit

Permalink
wrong y label corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
MadniAbdulWahab committed May 13, 2024
1 parent 8a7825f commit e1ea6c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pspm_data_editor.m
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ function PlotData(hObject)
action = 'replace';
for i=1:numel(channel)
AddPlot(hObject, channel(i), action);
% Update y-axis label based on selected channel
ylabel(handles.axData, [handles.data{channel(i)}.header.chantype, ' -- ', handles.data{channel(i)}.header.units]);
action = 'add';
end
set(handles.axData, 'NextPlot', np);
Expand Down

0 comments on commit e1ea6c6

Please sign in to comment.