How can I make my plot to originate from 0?

1 回表示 (過去 30 日間)
Shane Jacob
Shane Jacob 2022 年 2 月 18 日
コメント済み: Shane Jacob 2022 年 2 月 18 日

採用された回答

Jan
Jan 2022 年 2 月 18 日
Replace:
plot(1:18, ...)
by
plot(0:17, ...)
  3 件のコメント
Jan
Jan 2022 年 2 月 18 日
If you want a diagram going from 0 to 18, you need 19 data points.
Shane Jacob
Shane Jacob 2022 年 2 月 18 日
Oh, I only have 18 data points.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by