Plot Straight Line Segments
Show older comments
How should I plot a straight line segment ranging from (0,100) to 20(100). I want to use yline.
Answers (2)
KALYAN ACHARJYA
on 30 Nov 2019
line([0,100],[20,100])
VBBV
on 26 Mar 2022
yline(200);
xlim([0 20]);
Categories
Find more on Programming 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!