contour map and pdf for a 2d dataset
1 次查看(过去 30 天)
显示 更早的评论
I have a set of data that includes x and y coordinates. The outline of these points create a concave polygon, similar to a figure 8. I would like to get the probability density function for this (I've been using ksdensity) and contour it so that the contours stop at the outer edge of the data.
So far, manipulating ksdensity (specifically, the bin size/width) has resulted in contours that either excludes data, or includes areas without any data points.
Any ideas?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contour Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!