How can I make my plot to originate from 0?

1 view (last 30 days)

Accepted Answer

Jan
Jan on 18 Feb 2022
Replace:
plot(1:18, ...)
by
plot(0:17, ...)
  3 Comments
Jan
Jan on 18 Feb 2022
If you want a diagram going from 0 to 18, you need 19 data points.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!