Closed lulunaheed closed 1 year ago
Was able to successfully add a legend using the following addition: "+ theme(legend.position = "right", aspect.ratio = 1)"
so now it is: autoplot(deadCellsExclusion, x = chnl[1], y = chnl[2], legend = TRUE) + geom_gate(g4) + theme(legend.position = "right", aspect.ratio = 1)
Is there a way to add a legend to the figures in the autoplot function? I would like there to be a key that indicates the values associated with the colors in the plot.