I'm trying out different graphics in R and I made this scatter plot for Temperature and Solar Radiation using the basic airquality dataset. I thought it would be useful to visualise which points related to which month, however as they used numbers rather than names, the scale for the colour is continuous and I get a graduated colour palette rather than 5 distinct colours.
R has a datatype called factor, which is under the hood, integer values, but which prints as character strings.
Also here I use month.abb which is a built in vector of month abbreviations in R.