r ggplot hide one legend group from multiple legends code example Example: r ggplot hide one legend group from multiple legends p2 + guides(color = FALSE, size = FALSE)