2D histogram plot for N x M matrix
显示 更早的评论
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''
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
