Created
December 17, 2020 10:43
-
-
Save darioappsilon/9d926560175be38af0582c62b21b9b4e to your computer and use it in GitHub Desktop.
011_scatter_plots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ggplot(mtcars, aes(x = mpg, y = hp)) + | |
| geom_point(color = "#0099f9", size = 5) + | |
| geom_point(aes(size = qsec, color = cyl)) + | |
| labs( | |
| x = "Miles per Gallon", | |
| y = "Horse power" | |
| ) + | |
| theme( | |
| axis.title.x = element_text(color = "#0099f9", size = 16, face = "bold"), | |
| axis.title.y = element_text(color = "#0099f9", size = 16, face = "italic") | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment