放上最原始的参考链接:https://github.com/bwlewis/rthreejs
if(!require("devtools")) install.packages("devtools")
devtools::install_github("bwlewis/rthreejs")
z <- seq(-10, 10, 0.1)
x <- cos(z)
y <- sin(z)
scatterplot3js(x, y, z, color=rainbow(length(z)))
image.png
data(ego)
graphjs(ego, bg="black")
test.gif
- gif文件直接从本地拖进来即可
网友评论