contour map and pdf for a 2d dataset

1 次查看(过去 30 天)
Joshua
Joshua 2013-7-22
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 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by