Plot Straight Line Segments

How should I plot a straight line segment ranging from (0,100) to 20(100). I want to use yline.

回答 (2 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 11 月 30 日

2 投票

line([0,100],[20,100])
VBBV
VBBV 2022 年 3 月 26 日

0 投票

yline(200);
xlim([0 20]);

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

製品

リリース

R2019a

タグ

質問済み:

2019 年 11 月 30 日

回答済み:

2022 年 3 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by