Something similar to this, but on a polarplot.
How do I create density contours on a polar plot?
9 ビュー (過去 30 日間)
古いコメントを表示
I have a polar plot where I need to show where the greatest densities are located for field data I collected this summer. My file is attached...data file is the data, location 1 is the actual code with the plot.
I need to be able to show a contour or several contours around the main clustered area on the polar plot to show where to highest densities are located. I know this is very easy on a scatterplot, but how do you do it on a polarplot? You do not have to use contours, any visualization of the cluster density will work. Thank you.
3 件のコメント
回答 (1 件)
dpb
2016 年 12 月 2 日
編集済み: dpb
2016 年 12 月 3 日
I was afraid that's what you were looking for -- there's nothing out-of-the-box in Matlab that'll do it. I see the following submission at FEx <fileexchange/48224/PolarContour.m>. Not much in the way of useage provided, but it's quite short -- it shows converting given polar coordinates to cartesian and then using contour. That is, in fact, how polar works; there is no polar coordinate system inherent in HG; everything is x-y only; the polar stuff has to be simulated.
ADDENDUM
Had some time this AM to look at this again...I don't have HG2 but to try to understand your data and what to do with it, I recreated your scatter plot from your location script. I got the following--

Does that look like what you expect? If so, you're going to have a very difficult time generating a contour as you only have a cluster of observations in three general locations -- unless the coordinates aren't being reflected in proper locations on this plot.
参考
カテゴリ
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!