In the end, I came up with the following:
Scatter plot with marginal histograms and convex hulls
-
20-07-2023 - |
سؤال
I'd like to plot grouped data in a scatter plot with marginal histograms using Matlab. There is a function to do just that: scatterhist
.
However, I'm dealing with some visualization issues: I have a large number of data points and many points are printed one over another (changing marker type and marker size doesn't help).
Therefore, I'd prefer to substitute individual points from each group with their convex hull; i.e., if I have 5 groups, the plot would show 5 convex hulls and keep marginal histograms generated from the original data points. Do you know if there is an easy way to do this or if this has already been implemented?
المحلول
لا تنتمي إلى StackOverflow