-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【第五章 系统】grid 包的旋转功能在 RStudio 和 RGUI 窗口内的显示效果不一样 #7
Labels
Comments
我不知道啊。 另外,你给的这个 netlify 链接打不开。 |
是刚才引入一个新的 R 包 GGally 去替代 ggplot2 的 ggpcp 函数,GGally 还没添加到镜像里(需要一点时间), 所以暂时 Travis 编译不了书籍,网址暂时挂了。 之前更新的网址见 https://bookdown.org/xiangyun/msg/ |
XiangyunHuang
changed the title
grid 包的旋转功能在 RStudio 和 RGUI 窗口内的显示效果不一样
【第五章 系统】grid 包的旋转功能在 RStudio 和 RGUI 窗口内的显示效果不一样
Aug 19, 2019
旋转的特点表达了就行,先把这个关掉了 |
使用图形设备保存图片,出来的效果和在 RStudio View 里看到的一样 svglite::svglite(file = "rotate.svg")
png(file="rotate.png")
library(grid)
pushViewport(viewport(h = 0.8, w = 0.8, angle = 15))
grid.multipanel(newpage = FALSE)
popViewport()
dev.off() |
首先应该打开一个绘图窗口,添加一行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
举例如下,
运行环境
在 RStudio 内运行
在 R Gui 中运行
奇怪的是
Travis 上编译出来的效果和 RStudio 内一样,不知问题出在哪? @yihui
在线编译的效果见 https://msg-book.netlify.com/system.html#section-25
The text was updated successfully, but these errors were encountered: