daattali/ggExtra

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

Open

#128 aberto em 15 de ago. de 2018

Ver no GitHub
 (11 comments) (4 reactions) (0 assignees)R (47 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (392 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador