ggplot2 画分面的柱状图
ggplot2 画分面的柱状图直接上代码:df=read.table("class.txt",header=TRUE)ggplot(data = df, mapping = aes(x = factor(samples), y = y, fill = class)) + geom_bar(stat= 'identity', position = 'fill',size=6)+facet_g...
原创
2018-12-20 11:05:41 ·
1984 阅读 ·
0 评论