2D histogram plot for N x M matrix
Mostrar comentarios más antiguos
Hi, I wanted to do make a 2D histogram, something like below

My raw dataset plot is shown below; which I created using the following command
plot(X,Level); xlabel('X');ylabel('Level')

The plot basically plotting a [31 x 390] matrix called 'Level' against vector 'X'. (both data are attached in two separate txt files).
How do I generate a 2D plot using this dataset? I wanted to have a 2D plot like in the first figure
Or anything else that can show 'the number of data points for every 'Level' vs X and plotted against X and Level''
Respuesta aceptada
Más respuestas (1)
BeeTiaw
el 7 de Feb. de 2020
0 votos
Categorías
Más información sobre Data Distribution Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
