daattali/ggExtra
Marginal plots don't reflect axis limits made using coordinate system (e.g., coord_cartesian())
Aperta
#128 aperta il 15 ago 2018
enhancementhelp wanted
Metriche repository
- Star
- (393 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
As mentioned by @Futats in #75
library(ggplot2)
library(ggExtra)
p <- ggplot(mtcars) +
geom_point(aes(wt, drat)) +
coord_cartesian(xlim = c(4, 5.5))
ggMarginal(p)

Created on 2018-08-15 by the reprex package (v0.2.0).