reporting: bug fix: only assign a tempname to figname when one doesn't already exist
parent
9fa99b5337
commit
788b7e3d11
|
@ -126,7 +126,9 @@ if ~isempty(o.ylabel)
|
|||
end
|
||||
drawnow;
|
||||
|
||||
o.figname = [tempname '.tex'];
|
||||
if isempty(o.figname)
|
||||
o.figname = [tempname '.tex'];
|
||||
end
|
||||
disp(' converting to tex....');
|
||||
if exist('OCTAVE_VERSION')
|
||||
print(o.figname, '-dtikz');
|
||||
|
|
Loading…
Reference in New Issue