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.

 Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 12 Apr. 2020
Bearbeitet: Ameer Hamza am 12 Apr. 2020

0 Stimmen

ax = gca;
ax.XAxis.Exponent = 0;

2 Kommentare

SuzieChan
SuzieChan am 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.
Add the line
box on

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by