ggplot画基本图形类型

df<-data.frame( x=c(3,1,5), y=c(2,4,6), label=c("a","b","c")) p<-ggplot(df,aes(x,y))+xlab(NULL)+ylab(NULL) p+geom_point()+labs(title="geom_point") p+geom_bar(stat="identity")+labs(title="geom_bar(stat
相关文章
相关标签/搜索