Displaying 1 result from an estimated 1 matches for "c2a5cf".
Did you mean:
a5cf
2023 Jun 28
1
horizontal grouped stacked plots and removing space between bars
...:
data <- read.csv("test1.csv", stringsAsFactors=FALSE, header=TRUE)
# Graph
myplot=ggplot(data, aes(fill=condition, y=value, x=condition)) +
geom_bar(position="dodge", stat="identity", width=0.5) +
scale_fill_manual(values=c("#7b3294", "#c2a5cf", "#a6dba0", "#008837"))+
ylab("Performance (ns/day)") +
facet_wrap(~specie,nrow=3, labeller = label_wrap_gen(width = 85),
strip.position="bottom") +
theme_bw() +
theme(panel.grid = element_blank(),
panel.spacing = unit(0, "mm&...