daattali/ggExtra
Marginal plots don't reflect axis limits made using coordinate system (e.g., coord_cartesian())
开放
#128 创建于 2018年8月15日
enhancementhelp wanted
仓库指标
- 星标
- (393 个星标)
- PR 合并指标
- (30 天内没有已合并 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).