3D Surface Plots
一个还好的R Blog http://yixuan.cos.name/cn/categories/#R-ref
R语言能否画三维图? http://www.zhihu.com/question/26863301
plotting 3D data in R http://stackoverflow.com/questions/6720526/plotting-3d-data-in-r
3D Plots in R http://blog.revolutionanalytics.com/2014/02/3d-plots-in-r.html
plot3D https://cran.r-project.org/web/packages/plot3D/vignettes/plot3D.pdf
Creating 3D Surface plots in R http://www.wekaleamstudios.co.uk/wp-content/uploads/2010/05/graphs-surfaceplots.pdf
R语言绘制三维图 http://wenku.baidu.com/link?url=N1DOQgGGP1t_LRwFHc60okX-P_0YC3oROfxfYvgzkn7ntKtr_QU5OUmpYEJBBXSFUWIS2DGnbeuqn0S4q00WJNHQx-TqdvBtLD3jwh0H0ya
用R绘制交互式3D图 http://blog.csdn.net/chszs/article/details/8014970
看了上面这么多的资料,今天的主题就是要生成交互式3D图。
这个文章中有个代码里的rand好像没有这个函数,不能重复。我也是初学所以修正不了。有哪位可以修正请留言,谢谢啊。
用R绘制交互式3D图 http://blog.csdn.net/chszs/article/details/8014970
先贴两个好看的心,有兴趣可以照着做一下。
我的中国心® http://yixuan.cos.name/cn/2009/10/my-heart-for-china/
用RGL包绘制三维交互式图形 https://www.r-bloggers.com/lang/chinese/997
一、rgl
1.安装package
> install.packages(“rgl”)
configure: error: X11 not found but required, configure aborted.
ERROR: configuration failed for package ‘rgl’
* removing ‘/home/xyz/R/x86_64-pc-linux-gnu-library/3.3/rgl’
Warning in install.packages :
installation of package ‘rgl’ had non-zero exit status
Solution :
sudo apt-get install freeglut3 freeglut3-dev
(Thanks http://www.louisaslett.com/RStudio_AMI/)