daattali/ggExtra

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

Open

#128 创建于 2018年8月15日

在 GitHub 查看
 (11 评论) (4 反应) (0 负责人)R (47 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (392 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南