Load ggplot2
library(ggplot2)
Scatterplot
qplot(displ, hwy, data = mpg, colour = class)
Coloured points
qplot(displ, hwy, data = mpg)