How can I change the default settings for the 'linewidth' property before I plot a figure in MATLAB?
675 views (last 30 days)
MathWorks Support Team on 31 Jan 2017
You can set the default MATLAB linewidth property by setting the 'DefaultLineLineWidth' property of the root graphics object. When new lines are created, they will inherit this property from the root object.
set(0, 'DefaultLineLineWidth', 2);
For more information on setting default properties consult,