Isoline density of scatterplot and area within
Ältere Kommentare anzeigen
Hello,
I would like to make a (for instance 90%) isoline in a scatterplot, so that 90% of the data points have a higher density than this level, and calculate the area comprised within this contour. See picture for an example.

I already made a density histogram and intensity map with the hist3 function, and know that I have to use a Kernel density estimation, and probably the function contour, but I don't understand much of this, and some attempts with these functions did not work out. Can anyone help me with this?
Antworten (1)
Wish this would be helpful: https://www.mathworks.com/matlabcentral/answers/225934-using-matlab-to-plot-density-contour-for-scatter-plot
1 Kommentar
Jenny Nij Bijvank
am 27 Jun. 2016
Kategorien
Mehr zu Descriptive Statistics and Visualization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!