R Code - Categorical Scatterplots - Copy & Paste into Rweb to see example
cars <- c(1, 3, 6, 4, 9)
trucks <- c(2, 5, 4, 5, 12)
# Graph cars using a y axis that ranges from 0 to 12
plot(cars, col="blue", ylim=c(0,12))
# Graph trucks with square points
points(trucks, pch=22, col="red")
# Create a title with a red, bold/italic font
title(main="Autos", col.main="red", font.main=4)