Green 发表于 2021-6-30 09:28:31

R语言给直方图加标签

hist(data$MEDV,col="grey")#可以看到目标数据的总体分布
legend(35,170,c("min:5","median:21.2","mean:22.51","max:50"),fill=c("lightblue","wheat"))


  
页: [1]
查看完整版本: R语言给直方图加标签