Plot Straight Line Segments

49 views (last 30 days)
Aarav Shah
Aarav Shah on 30 Nov 2019
Answered: VBBV on 26 Mar 2022
How should I plot a straight line segment ranging from (0,100) to 20(100). I want to use yline.

Answers (2)

KALYAN ACHARJYA
KALYAN ACHARJYA on 30 Nov 2019
line([0,100],[20,100])

VBBV
VBBV on 26 Mar 2022
yline(200);
xlim([0 20]);

Categories

Find more on Programming in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!