Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mytheme <- theme_bw() + theme(axis.title = element_text(size = rel(2)),
- strip.text = element_text(size = rel(2)),
- legend.position = "bottom",
- legend.key = element_blank(),
- text = element_text(size = 28),
- legend.text = element_text(size = 28),
- plot.margin = margin(20, 20, 20, 20),
- axis.text.x = element_text(hjust = 0.5, vjust = 0.5, size = 35),
- axis.text.y = element_text(hjust = 0.5, vjust = 0.5, size = 35),
- strip.background = element_rect(fill = 'gray96'))
- tiff("r.tiff", units="in", width=10, height=7, res=300)
- ggplot(data = Figure_1) +
- mytheme + scale_y_continuous(breaks = seq(0,2000, 500))+
- aes(x = bin, y = value, group = variable, color = variable) + scale_x_discrete(limits = c ("FFD","SFD", "GD", "TT")) +
- geom_errorbar(aes(ymin=value-ci, ymax=value+ci), width=.1) +
- geom_line(aes(group=variable, linetype = variable), size =2) + scale_linetype_manual(values=c("solid", "longdash", "dotdash", "dotted")) +
- theme(legend.title = element_blank()) +
- guides(col = guide_legend(reverse = FALSE, override.aes = list(size=6))) +
- xlab("") +
- ylab("Duration (ms)")
- dev.off()
Add Comment
Please, Sign In to add comment