Borrar filtros
Borrar filtros

How to change x-axis values?

1 visualización (últimos 30 días)
SuzieChan
SuzieChan el 12 de Abr. de 2020
Editada: SuzieChan el 12 de Abr. de 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.

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 12 de Abr. de 2020
Editada: Ameer Hamza el 12 de Abr. de 2020
ax = gca;
ax.XAxis.Exponent = 0;
  2 comentarios
SuzieChan
SuzieChan el 12 de Abr. de 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.
Ameer Hamza
Ameer Hamza el 12 de Abr. de 2020
Add the line
box on

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Object Identification en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by