The total length of the videos in this section is approximately 7 minutes.
Here is the code file used in the video:
Question 1. Experiment by running lines 23-30 in the code file. The code generates 10 colors between yellow and red, for example. Change the color names. Which two colors do you think work well for generating a palette of 10 colors?
And now you can experiment with colors. Also, if you are just wondering what color options exist, here is a favorite page.
And, if you haven't already, note that gray is a function. So, you can do things like
plot(1:10, pch=16, cex=3, col=gray(.5))
Try changing the proportion inside the gray() function to see what happens.