#R#barplot
来源:互联网 发布:草图大师 mac 破解 编辑:程序博客网 时间:2024/04/29 18:34
(1)建一个测试的DATASET:> a<-seq(2,10,2)> b<-seq(10,100,20)> c<-as.matrix(a,b)> c [,1][1,] 2[2,] 4[3,] 6[4,] 8[5,] 10> c<-data.frame(a,b)> c<-as.matrix(c)> c a b[1,] 2 10[2,] 4 30[3,] 6 50[4,] 8 70[5,] 10 90
(2)根据测试DATASET,来画图
>barplot(c,main="Test",xlab="Product",ylab="xiaohao",col=c("red","blue","yellow","black","green"),legend=rownames(c))> barplot(c,main="Test",xlab="Product",ylab="xiaohao",col=c("red","blue","yellow","black","green"),legend=rownames(c),beside=TRUE)
- #R#barplot
- R语言绘图-barplot()
- [R语言绘图]条状图barplot
- R语言做图之——barplot
- jpgraph BarPlot 柱形图
- barplot条形图的调整
- barplot条形图的图例位置设置
- r
- r
- R
- r
- r
- r
- R
- R
- r
- R
- r
- VB的常用内部控件简介
- 职场攻略:加班族避免常加班不妨试试被潜
- java图片局部透明
- 用keytool生成证书过程
- 什么是套接字
- #R#barplot
- 数据库设计中的14个技巧( 转)写的真好,怕文章找不见了,留存
- 11种致命的“电脑病”症状及缓解方法
- javascript生成UUID的两种方式
- Linux进程间通信(三): 消息队列
- linux下du和df命令的区别 ---检查文件资源是否被释放
- 软件随想录(local.joelonsoftware.com/wiki)-2000年04月06日 你绝对不应该做的事 之一 - Things You Should Never Do, Part One
- 网页中支持浏览器比较完美的一个播放器例子
- 一个前华为员工的创业反思