这里是我的代码设置barplot颜色,并添加x轴值
#!/usr/bin/R
c1 <-c(60,199,102,134,81,95,135,151,102,112,211,120)
barplot(c1, main="number of points per cluster",
color="dark blue")
但警告消息称
警告信息:1:在plot.window(XLIM,ylim,登录=日志,...):
“色” 是不是一个图形化的参数
我也想在x轴上从1到12的数字。
山坳= C(“深蓝”) – HubertL