R 3D可视化 初阶

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/)

<
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值