Plotting a horizontal line on a scatter graph in MATLAB

8 views (last 30 days)
How do I plot a dashed horizontal straight line of y=20?

Answers (1)

Walter Roberson
Walter Roberson on 4 May 2023
yline(20, '--')

Tags

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!