r - facet_wrap_paginate x 轴偏离最后一页的位置
问题描述
我面临的问题是 facet_wrap_paginate 在最后一页上,x 轴位于图片的底部,而不是位于图的底部。
第 1 页
ggplot(diamonds) +
geom_point(aes(carat, price), alpha = 0.1) +
facet_wrap_paginate(~cut:clarity, ncol = 3, nrow = 6, page = 1)
这是最后一页:
第 4 页
ggplot(diamonds) +
geom_point(aes(carat, price), alpha = 0.1) +
facet_wrap_paginate(~cut:clarity, ncol = 2, nrow = 6, page = 4)
如您所见,“克拉”标签位于底部,而不是与图一起。有什么解决办法吗?
谢谢!
解决方案
推荐阅读
- generics - 如何使用可在编译时检测到的有限长度范围的 GenericArray?
- android - 如何从firebase android中删除数据
- r - 为拆分条形图 ggplot2 着色 x 轴标签
- spring-boot - 如何防止 Spring Boot 在模态中为某些特定字段创建列
- string - AutoIt 字符串变量二进制安全吗?我可以在那里存储二进制数据吗?
- gerrit - 在 Gerrit 中,我们如何评论二进制文件?
- vue.js - v-html 不在 div 内呈现动态 HTML 数据
- javascript - Vue.js - 子组件在更新其位置时重新渲染
- actionscript-3 - 在影片剪辑内的影片剪辑中加载图像
- javascript - React Native createStackNavigator 和 createBottomTabNavigator