Commit 788b7e3d authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: bug fix: only assign a tempname to figname when one doesn't already exist

parent 9fa99b53
......@@ -126,7 +126,9 @@ if ~isempty(o.ylabel)
o.figname = [tempname '.tex'];
if isempty(o.figname)
o.figname = [tempname '.tex'];
disp(' converting to tex....');
if exist('OCTAVE_VERSION')
print(o.figname, '-dtikz');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment