Plotting X Axis numbers

1 view (last 30 days)
matt noman
matt noman on 6 Mar 2020
Answered: Ameer Hamza on 6 Mar 2020
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

Answers (1)

Ameer Hamza
Ameer Hamza on 6 Mar 2020
See xlim(). Set x-axis limits with
xlim([0 10]);
replace 10 with whatever you want

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!