Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LRT_infinite_dimensional_systems
conI
Commits
b96aca6b
Commit
b96aca6b
authored
Sep 24, 2020
by
Ferdinand Fischer
Browse files
Global setting to plot quantities into a current figure
parent
a88ead10
Changes
2
Hide whitespace changes
Inline
Side-by-side
+quantity/Discrete.m
View file @
b96aca6b
...
...
@@ -1207,7 +1207,7 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ...
p
.
addParameter
(
'titleWithIndex'
,
true
'
);
p
.
addParameter
(
'hold'
,
false
);
p
.
addParameter
(
'export'
,
false
);
p
.
addParameter
(
'currentFigure'
,
fals
e
);
p
.
addParameter
(
'currentFigure'
,
quantity
.
Settings
.
instance
()
.
plot
.
currentFigur
e
);
p
.
addParameter
(
'exportOptions'
,
...
{
'height'
,
[
num2str
(
0.25
*
size
(
obj
,
1
)),
'\textwidth'
],
...
'width'
,
'0.8\textwidth'
,
'externalData'
,
false
,
...
...
...
+quantity/Settings.m
View file @
b96aca6b
...
...
@@ -3,7 +3,7 @@ classdef Settings < handle
%
properties
(
Access
=
public
)
plot
=
struct
(
'dock'
,
false
,
'showTitle'
,
true
);
plot
=
struct
(
'dock'
,
false
,
'showTitle'
,
true
,
'currentFigure'
,
false
);
progressBar
=
struct
(
'show'
,
true
);
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment