daattali/ggExtra

Marginal plots don't reflect axis limits made using coordinate system (e.g., coord_cartesian())

Ouverte

#128 ouverte le 15 août 2018

 (11 commentaires) (4 réactions) (0 personne assignée)R (47 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (393 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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).

Guide contributeur