How can i change the range of the axis X

3 次查看(过去 30 天)
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 ....)

回答(1 个)

dpb
dpb 2014-9-18
doc xlim
doc axes % then axes properties, particularly 'xtick'
doc set

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by