Add contour lines on top of a density plot
3 views (last 30 days)
Show older comments
Hi, I generated a colormap from a matrix N (figure below) :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/386678/image.png)
The highest desnity is at the centre..indicated by color red and the least in the periphery (blue area). I want to add contour lines (circles) in this plot to indicate percentie data i.e I want to show a circle which encloses 25% data, a cirle which encloses 75% data and so on.
Such a representation would help me compare multiple such figures.
Note- I do not wish to make contour plots using contourf
Thanks in advance!!
0 Comments
Answers (0)
See Also
Categories
Find more on Contour 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!