| Feature | Argument | Value | Example |
|---|---|---|---|
| Title | main | string | “Scatter Plot” |
| Subtitle | sub | string | “Displacement vs Miles Per Gallon” |
| X Axis Label | xlab | string | “Displacement” |
| Y Axis Label | ylab | string | “Miles Per Gallon” |
plot(mtcars$disp, mtcars$mpg,
main = 'Displacement vs Miles Per Gallon')plot(mtcars$disp, mtcars$mpg,
main = 'Displacement vs Miles Per Gallon',
sub = 'Mileage is inversely related to Displacement')plot(mtcars$disp, mtcars$mpg,
main = 'Displacement vs Miles Per Gallon',
sub = 'Mileage is inversely related to Displacement',
xlab = 'Displacement', ylab = 'Miles Per Gallon')plot(mtcars$disp, mtcars$mpg)
title(main = 'Displacement vs Miles Per Gallon',
sub = 'Mileage is inversely related to Displacement',
xlab = 'Displacement', ylab = 'Miles Per Gallon')plot(mtcars$disp, mtcars$mpg, ann = FALSE)
title(main = 'Displacement vs Miles Per Gallon',
sub = 'Mileage is inversely related to Displacement',
xlab = 'Displacement', ylab = 'Miles Per Gallon')plot(mtcars$disp, mtcars$mpg,
xlim = c(0, 600), ylim = c(0, 50))