将 3D 绘图保存为 html

问题描述

我使用R中的rgl包用plot3d函数绘制了一个3D图

plot3d(x[,1:3],type= 's',col = y[,6],size= 2)

但是我不能将它保存为 html 我尝试了 knitr 和 writeWebGl ,但没有成功。

knit_hooks$set(rgl = hook_rgl)

此代码也只打开一个空的 html

browseURL(paste("file://",writeWebGL(dir=file.path(tempdir(),"webGL"),width=500),sep=""))

我的问题是如何将我的 3d 绘图保存在 html 中?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...