Advertisement
matheus__serpa

plot3

Aug 26th, 2020
2,229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 1.00 KB | None | 0 0
  1. g1 <- ggplot(data=k, aes(x = toupper(app), y = norm, fill = metric)) +
  2.  geom_bar(stat = "identity", width=.5, colour = "black", size = 1) +
  3.  theme_bw(base_size = 50) +
  4.  scale_y_continuous(breaks=seq(0, 100, 20)) +
  5.  scale_fill_manual(values=c("#7CC46D", "#CA6F5A", "#BF7FCA", "#5F9AD2", "#F6A560")) +
  6.  labs(x = "", y = "Instruction Distribution (%)", fill="Instructions") +
  7.  theme(
  8.     panel.grid = element_blank(),
  9.     legend.position="top",
  10. #    legend.position="none",
  11.     legend.direction = "horizontal",
  12.     legend.title = element_blank(),
  13.     legend.key.width = unit(2, "cm"),
  14.     axis.ticks = element_line(colour = "black"),
  15.     panel.border = element_rect(colour = "black"),
  16.     axis.text=element_text(colour = "black", size=75),
  17.     axis.title=element_text(size=45),
  18. #    axis.text.x = element_text(angle = 90),
  19.     legend.text=element_text(size=55),
  20.     axis.title.y = element_blank(),
  21. #    legend.box.margin = margin(b = -1.5, unit="cm"),
  22. #    plot.margin = unit(c(0,0,6.5,0),"cm")
  23.  )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement