how to change the Line width in stem
Show older comments
each time i want to use stem option, i see just circles without lines and i need to change the line width from 0.5 to 1
%
n=0:4;
x=2*n;
stem(n,x);

in the figure i go to view>>property editor>> i click on the circle in the graph>> i change the line width from 0.5 to 1
and the lines apeares again


is there a way to change the default value of the line width to 1 without changing it each time. thanks for your help.
2 Comments
Star Strider
on 10 Dec 2016
Why not just do this?
n=0:4;
x=2*n;
stem(n,x, 'LineWidth',1)
fouad fouad
on 10 Dec 2016
Edited: fouad fouad
on 10 Dec 2016
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!