Plotting X Axis numbers

In matlab I have my length set to 9 how do I have my x axis on my plot from 0 to whatever I set my length to

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 3 月 6 日

0 投票

See xlim(). Set x-axis limits with
xlim([0 10]);
replace 10 with whatever you want

カテゴリ

タグ

質問済み:

2020 年 3 月 6 日

回答済み:

2020 年 3 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by