A basic plot is created by calling plot(). Here we use the built-in cars data frame that contains the speed of cars and the distances taken to stop in the 1920s. (To find out more about the dataset, use help(cars)).
plot(x = cars$speed, y = cars$dist, pch = 1, col = 1,
main = "Distance ...