Commit 30f6ad07 authored by Jakob Gabriel's avatar Jakob Gabriel
Browse files

quantity.Discrete.plot: minor fix for long titles

parent 063c062e
...@@ -1236,6 +1236,8 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ... ...@@ -1236,6 +1236,8 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ...
myTitle = split(myTitle); myTitle = split(myTitle);
if numel(myTitle) > 2 if numel(myTitle) > 2
myTitle = myTitle(1) + " [ \ldots ] " + myTitle(end); myTitle = myTitle(1) + " [ \ldots ] " + myTitle(end);
else
myTitle = join(myTitle);
end end
end end
end % titleHelper() end % titleHelper()
......
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