how to plot non-standard contour plots

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

darova
darova 2019년 12월 14일
Can you provide sample code? What have you tried?
emjey
emjey 2019년 12월 17일
Thanks darova for your interest, but I haven't tried it yet, will keep you posted, Best, M
emjey
emjey 2020년 1월 7일
편집: emjey 2020년 1월 7일
Using R I have (obviously similar plots can be done with Matlab), more or less, covered type 1 & 4, see below
but 2 & 3 are not as trivial to plot.
darova
darova 2020년 1월 7일
try patch
emjey
emjey 2020년 1월 8일
편집: emjey 2020년 1월 8일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Contour Plots에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2019년 12월 13일

편집:

2020년 1월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by