Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve 1d binning plots #544

Open
adehecq opened this issue Jun 12, 2024 · 2 comments
Open

Improve 1d binning plots #544

adehecq opened this issue Jun 12, 2024 · 2 comments
Labels
enhancement Feature improvement or request

Comments

@adehecq
Copy link
Member

adehecq commented Jun 12, 2024

Currently, the function xdem.spatialstats.plot_1d_binning only shows one metric at a time, with a scatter plot.

It would be useful to at least show a central tendency + dispersion (e.g. median + NMAD) as a barplot. Ideally, we could even make a violin plot like Fig 4 in Hugonnet et al. (2022), but this would probably need to be a separate function as it requires the full array of values.

@adehecq adehecq added the enhancement Feature improvement or request label Jun 12, 2024
@adehecq
Copy link
Member Author

adehecq commented Jun 12, 2024

We could also consider a higher-level function that plot a set of 1d plots for a given DEM difference, e.g. showing barplots/violin plots of dh vs slope, curvature, elevation, along-track etc. Just to make it easy to identify bias patterns in the data.

@rhugonnet
Copy link
Contributor

I like the summary plot idea 😄
All of these should be relatively small effort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature improvement or request
Projects
None yet
Development

No branches or pull requests

2 participants