[英]geom_bar change color in R
我使用下面的代码通过R中的ggplot2创建了一个bar plot ,当aes只使用one列时,如何更改条形的内部颜色? 请注意,数据框没有名为count的列。
R
ggplot2
bar plot
aes
one
count
library(ggplot2) ggplot(data_frame, aes(x = class.1_value)) + geom_bar(color ="steelblue") + theme_minimal()
使用fill ="steelblue"而不是color ="steelblue"
fill ="steelblue"
color ="steelblue"
[英]R ggplot2 change geom_bar to a single color
[英]R: change bar labels in geom_bar
[英]legend change the color specified for geom_bar
[英]Change bar plot colour in geom_bar with ggplot2 in r
[英]Color the control group using geom_bar in R
[英]change the color of 20% of bars in geom_bar ggplot
[英]Geom_bar with R (Beginner)
[英]R - ggplot2 change in sorting in geom_bar (?)
[英]Assigning continuous fill color to geom_bar
[英]Ordering of R geom_bar plot
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.