How to have smaller histogram show up on top of larger histogram
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have code that currently plots several histograms on the same figure, but when the first histogram created is smaller than the next one, it becomes completely covered. Is there a way to make it so that the smallest histogram always shows up in the foreground?
1 comentario
Respuestas (1)
Image Analyst
el 21 de Feb. de 2022
How are you plotting? Did you try
histogram(data1);
hold on;
grid on;
histogram(data2);
3 comentarios
Jeff Miller
el 22 de Feb. de 2022
maybe check the number of values in each dataset and plot the smallest one's histogram last?
Ver también
Categorías
Más información sobre Histograms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!