how to plot non-standard contour plots

1 view (last 30 days)
emjey
emjey on 13 Dec 2019
Edited: emjey on 8 Jan 2020
I would like to plot following contour plots representing two dimensional cumulative distributon functions (CDF) given the data coordinates (blue solid dots).
2D_CDF.pngA CDF in 2 or more dimensions is not unique (Lopes et al. The two-dimensional Kolmogorov-Smirnov test) that's why there are 4 alternative plots (and probably some more). I assume this task is in theory straightforward but time consuming, there might be something out there.
Any pointers would be very welcome. M
  5 Comments
emjey
emjey on 8 Jan 2020
Edited: emjey on 8 Jan 2020
Thanks darova for pointing me in the right direction! Again, I did in R using geom_rect, an analog to 'patch' if I see it correctly.
Rplot01.png
The sequence of recangles is ordered wrt the eucleadian distance of the data. This means, if we assume this generic ordering, there is possibly only one version of defining a 2D CDF instead of two.
Any comments?

Sign in to comment.

Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!