Commit b96aca6b authored by Ferdinand Fischer's avatar Ferdinand Fischer
Browse files

Global setting to plot quantities into a current figure

parent a88ead10
...@@ -1207,7 +1207,7 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ... ...@@ -1207,7 +1207,7 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ...
p.addParameter('titleWithIndex', true'); p.addParameter('titleWithIndex', true');
p.addParameter('hold', false); p.addParameter('hold', false);
p.addParameter('export', false); p.addParameter('export', false);
p.addParameter('currentFigure', false); p.addParameter('currentFigure', quantity.Settings.instance().plot.currentFigure);
p.addParameter('exportOptions', ... p.addParameter('exportOptions', ...
{'height', [num2str(0.25*size(obj, 1)), '\textwidth'], ... {'height', [num2str(0.25*size(obj, 1)), '\textwidth'], ...
'width', '0.8\textwidth', 'externalData', false, ... 'width', '0.8\textwidth', 'externalData', false, ...
......
...@@ -3,7 +3,7 @@ classdef Settings < handle ...@@ -3,7 +3,7 @@ classdef Settings < handle
% %
properties (Access = public) properties (Access = public)
plot = struct('dock', false, 'showTitle', true); plot = struct('dock', false, 'showTitle', true, 'currentFigure', false);
progressBar = struct('show', true); progressBar = struct('show', true);
end end
......
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