Skip to content

Commit

Permalink
iss #7 Updated xp_handles_newfig to turn on auto save when supersize_…
Browse files Browse the repository at this point in the history
…me is active.
  • Loading branch information
davestanley committed Apr 10, 2017
1 parent c71f449 commit c6ac420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library_plots/xp_handles_newfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
op.save_figures = 1;
end

if ~op.save_figures && strcmp(op.visible,'off')
%fprintf('For supersize_me mode or visible off, should save figures. Autosaving figures... \n');
%op.save_figures = 1;
if ~op.save_figures && strcmp(op.visible,'off') && op.supersize_me
fprintf('For supersize_me mode or visible off, should save figures. Autosaving figures... \n');
op.save_figures = 1;
end

if op.save_figures
Expand Down

0 comments on commit c6ac420

Please sign in to comment.