How to change units of Y axis?

1 visualización (últimos 30 días)
googo
googo el 27 de Mzo. de 2013
I made an histogram (left one) and I want to change the y axis units so it will be like the histogram on the right.
How can I do it?
thank's!

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 27 de Mzo. de 2013
Editada: Azzi Abdelmalek el 27 de Mzo. de 2013
Edit
yt=(0:0.4:1.2)*10^4
set(gca,'yticklabel',xt)
  5 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 27 de Mzo. de 2013
Editada: Azzi Abdelmalek el 27 de Mzo. de 2013
have you copied the above code?
googo
googo el 27 de Mzo. de 2013
Yes, after the plot function.
well, now I asked my teacher and i'm not allowed using set and linspace so never mind about that.
As there any artificial way to do this? thank's!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by