Clear Filters
Clear Filters

How to change x-axis values?

1 view (last 30 days)
SuzieChan
SuzieChan on 12 Apr 2020
Edited: SuzieChan on 12 Apr 2020
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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Object Identification 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!