Linewidth for function step?
Show older comments
I plotted something but not sure why I can't adjust the linewidth of the result of the plot. I was able to change colors but linewidth doesn't change.
step(value_1);
set(value_1, 'LineWidth', 2);
Accepted Answer
More Answers (1)
Erick Oberstar
on 20 Mar 2021
7 votes
This technique works for step, impulse, nyquist, and bode plots
LineWidth = 3;
s = tf(s)
sys = 1/(s+1)
figure; step/impulse/nyquist/bode(sys)
set(findall(gcf,'type','line'),'linewidth',LineWidth);
Categories
Find more on Frequency-Domain Analysis 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!