Skip to content

Commit

Permalink
fix x labels of plot_epochs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristina Gil committed Apr 12, 2024
1 parent e3ebfa8 commit 455117b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_functions/plot_epochs.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function plot_epochs(params,EEG)
% Bar plot
f = figure('units','normalized','outerposition',[0 0 1 1]);
bar(nEpochs(bmask));
xticks(1:2:nRec);
xticks(1:length(bmask));
box off;
set(gca,'xticklabel',ids(1:length(bmask)),'xticklabelrotation',45)
ylabel('Number of clean epochs');
Expand Down

0 comments on commit 455117b

Please sign in to comment.