Skip to content

Commit

Permalink
Update PlotValidation.m
Browse files Browse the repository at this point in the history
Switching to PDF to have vectors to be able to overlay graphs
  • Loading branch information
haberlmatt authored May 7, 2018
1 parent 2e5a80b commit 8634c35
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions PlotValidation.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
if numel(arg_list)==3
outfile = arg_list{3,1};
elseif numel(arg_list)==1
outfile = fullfile(logdir, 'loss.png');
outfile = fullfile(logdir, 'loss');
end
print(plt,outfile, "-dpngcairo");
fprintf('Your outputfile is saved as: %s\n', outfile');
%print(plt,outfile, "-dpngcairo");
print(plt,outfile, "-dpdf");
fprintf('Your outputfile is saved as: %s.pdf\n', outfile');

0 comments on commit 8634c35

Please sign in to comment.