Created
February 13, 2020 02:33
-
-
Save selva86/b0f4445142688476e620a4b528a96cd9 to your computer and use it in GitHub Desktop.
This file contains 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
# Make a scatterplot with following variables and which looks like this. | |
# Top half: Points above 150 on Y axis is 'green3' else 'red'. | |
# Input | |
set.seed(42) | |
x <- runif(100, min = 10, max=20) | |
y <- runif(100, min = 100, max= 200) | |
# Settings | |
# point_color = ?? | |
point_size = 1.5 | |
title_font_size = 1.8 | |
title = 'Scatter Plot' | |
X_axis_title = 'X axis' | |
Y_axis_title = 'Y axis' | |
X_axis_limit = c(9, 21) | |
Y_axis_limit = c(90, 210) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment