How can i change the range of the axis X

I created a graph where the X-axis is divided into 10 on 10 units. I would like the representation of the X-axis was 1 on 1 eg.: 10 20 30 40 on the X axis (I need. 1 2 3 .... 10 11 12 13 ....)

Answers (1)

doc xlim
doc axes % then axes properties, particularly 'xtick'
doc set

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Asked:

on 18 Sep 2014

Answered:

dpb
on 18 Sep 2014

Community Treasure Hunt

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

Start Hunting!