使用条形图,Y轴为百分比

时间:2017-07-14 17:43:03

标签: r bar-chart axis

Gretings

我需要更改y轴以百分比显示的条形图。这是我的代码:

grafico=barplot(as.matrix(w),las=2,beside=T, horiz=F,,ces.names=1.5,col=c("lightblue","lightgrey","darkgrey"),cex.axis=1, cex.names=0.78, main = "Figura 2. Vivienda")
legend(20,20, row.names(w), col=c("lightblue","lightgrey","darkgrey"),cex = 0.75,lwd=5)

这就是我现在所拥有的:

barplot

谢谢!

0 个答案:

没有答案