2D histogram plot for N x M matrix
Show older comments
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''
Accepted Answer
More Answers (1)
BeeTiaw
on 7 Feb 2020
0 votes
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!