How can I make my plot to originate from 0?

1 次查看(过去 30 天)

采纳的回答

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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by