![](/img/trans.png)
[英]rgl plot3d and snapshot3d: how do I save with resolution higher than my monitor?
[英]Is there a way to save an rgl 3D plot with high resolution?
我有一个来自 rgl 包中的 plot3d() 函数的 3D 图,但函数 rgl.postscript() 不起作用(错误消息说它停止为我的 rgl 版本工作 - 最新)。
有没有其他方法可以保存 3D 图的帧,并且具有高分辨率(出版意图)?
如果您安装了 Chrome 浏览器,则安装webshot2
包,然后rgl::snapshot3d()
将拍摄高质量的图像。 例如,如果您想要 3in x 3in 绘图中的 300 dpi 分辨率,请使用
snapshot3d(width = 900, height = 900)
您可能需要调整线宽等,这不会在snapshot3d()
自动发生。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.