how to plot verticle lines?

1 回表示 (過去 30 日間)
Jens Petit-jean
Jens Petit-jean 2020 年 11 月 30 日
コメント済み: Jens Petit-jean 2020 年 11 月 30 日
Hello,
How do I plot vercicle lines that go up to y-value 10?
thanks in advance

採用された回答

John D'Errico
John D'Errico 2020 年 11 月 30 日
編集済み: John D'Errico 2020 年 11 月 30 日
Plot two points, connected by a line. Both points will have the same value for x. You can choose the start and end point in y to plot. Don't use a marker. WTP?
Or, you could use the function xline.
  4 件のコメント
Adam Danz
Adam Danz 2020 年 11 月 30 日
Or use stem
stem(10,'Marker','none')
ylim([0,12])
Jens Petit-jean
Jens Petit-jean 2020 年 11 月 30 日
thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by