Plotting straight line on graph
18 views (last 30 days)
Show older comments
Hey easy question but how do i plot the line y=40 in matlab? What is the script i need to write?
Thanks zane :)
0 Comments
Accepted Answer
Simon
on 15 Oct 2023
Moved: Matt J
on 15 Oct 2023
yline(40)
1 Comment
Dyuman Joshi
on 15 Oct 2023
In case of an older version, use the method described in the other answer.
More Answers (2)
See Also
Categories
Find more on Annotations 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!