How to change x-axis values?

2 次查看(过去 30 天)
Hello everyone,
Matlab automatically put the x-axis values into x10 format. This is wrong.
How can I make x-axis values to look like whole number values i.e. 9000, 9200 etc?
Thank you.

采纳的回答

Ameer Hamza
Ameer Hamza 2020-4-12
编辑:Ameer Hamza 2020-4-12
ax = gca;
ax.XAxis.Exponent = 0;
  2 个评论
SuzieChan
SuzieChan 2020-4-12
Hello. Ok, how do I make axis bar show on top and right of right - to make the graph look like a box? thanks.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by