Plotting a horizontal line on a scatter graph in MATLAB
Show older comments

How do I plot a dashed horizontal straight line of y=20?
Answers (1)
Walter Roberson
on 4 May 2023
yline(20, '--')
Categories
Find more on Scatter Plots 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!