ggplot(df, aes(x = USG, y = PER)) + geom_smooth(method = "lm") +
geom_point(aes(x = USG, y = PER)) +
geom_point(aes(x = embiid$USG, y = embiid$PER, color = "Embiid"),
size = 1.5) +
geom_point(aes(x = doncic$USG, y = doncic$PER, color = "Doncic"),
size = 1.5) +
geom_point(aes(x = lillard$USG, y = lillard$PER, color = "Lillard"),
size = 1.5) +
geom_point(aes(x = jokic$USG, y = jokic$PER, color = "Jokic"),
size = 1.5) +
geom_point(aes(x = lebron$USG, y = lebron$PER, color = "Lebron"),
size = 1.5) +
labs(x = "Usage Rate(%)",
y = "Player Efficiecy Rating",
color = "Legend") +
scale_color_manual(values = colors) + ggtitle("PER vs USG%")
+ theme(plot.title = element_text(hjust = 0.5))