I\'m new to ggplot and I\'m trying to figure out how to add a legend to a graph and re-label the x-axis. I\'ve enclosed the plotting code and resulting graph . I would like