Same y-axis in a series of histograms

1 visualización (últimos 30 días)
José Luis
José Luis el 31 de Mzo. de 2025
Comentada: José Luis el 3 de Abr. de 2025
Cómo puedo conseguir que una serie de histrogramas usen la misma escala en el eje Y. En los historgramas de las figuras de la derecha quiero que el eje de la Y sea entre 0 y 1000.
Sabéis cómo lo puedo conseguir.

Respuestas (1)

Zinea
Zinea el 3 de Abr. de 2025
After plotting the histogram, the Y-axis limits can be set to [0, 1000] using the function "ylim" as given below:
ylim([0 1000])
For more information on the "ylim" function, refer to the link below:

Community Treasure Hunt

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

Start Hunting!