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

Réponses (1)

Ameer Hamza
Ameer Hamza le 6 Mar 2020

0 votes

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

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by