2D histogram plot for N x M matrix
Afficher commentaires plus anciens
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''
Réponse acceptée
Plus de réponses (1)
BeeTiaw
le 7 Fév 2020
0 votes
Catégories
En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
