Density plot of a 2D matrix

13 views (last 30 days)
hamed on 10 Jan 2021
Commented: hamed on 10 Jan 2021
Hi :)
I have a 2D matrix and I want to plot the number of accurence for each element at each row as the density plot (please see the attached plot).
In other words, each background color shows the probability (count) of each sample.
hamed on 10 Jan 2021
I attached my data. Forget about the black line. I just to plot my data (501*381) as the density plot. the same as the figure I attached as the example above.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!