Skip to content

Commit

Permalink
automatically synchronized identical files to dfe63ce
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed Nov 6, 2024
1 parent dfe63ce commit 66c54e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions realtime/online_meg/private/open_figure.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
cfg.renderer = ft_getopt(cfg, 'renderer'); % let MATLAB decide on the default
cfg.figurename = ft_getopt(cfg, 'figurename');
cfg.title = ft_getopt(cfg, 'title');
cfg.interpreter = ft_getopt(cfg, 'interpreter', 'none');

switch cfg.figure
case {'new', 'yes'}
Expand Down Expand Up @@ -75,7 +76,7 @@

if ~isempty(cfg.figurename)
% this appears as the name of the window
set(h, 'name', cfg.figurename);
set(h, 'name', cfg.figurename, 'Interpreter', cfg.interpreter);
end

if ~isempty(cfg.renderer)
Expand All @@ -85,5 +86,5 @@

if ~isempty(cfg.title)
% this appears above the axes
title(cfg.title);
title(cfg.title, 'Interpreter', cfg.interpreter);
end

0 comments on commit 66c54e0

Please sign in to comment.