title(main, sub, xlab, ylab, axes=F) axes(main, sub, xlab, ylab, axes=T)
Graphical parameters may also be supplied as arguments to this function (see par).
title and axes rotate the text given by main, sub, xlab, and ylab to be parallel to the the axes they are next to. (Thus they override the current value of the srt graphical parameter.) They use the current value of the adj graphical parameter to determine where along the axis to place this text: adj=0.5 centers the text at the center of the axis, adj=0 left justifies it to the left edge of the axis, and adj=1 right justifies it to the right edge of the axis.
title and axes rotate the tick mark labels to be parallel to the axes if the graphical parameter las is 0, horizontal if las is 1, and perpendicular to the axes if las is 2. (Again, this overrides the current value of srt.) The tick mark labels are centered at the tick mark if they are parallel to the axis and right or left justified if they are perpendicular to the axis and to the left or right of it, respectively. (This overrides the current value of adj.)
The mtext and text functions give you more flexibility in placing labels on a plot. The axis function gives you more flexibility in placing an axis on a plot.
title("residuals from final fit") # main title only axes(xlab="concentration",ylab="temperature") tsplot(rain.nyc1) lines(lowess(rain.nyc1)) title(main="Rain in New York") # make two line title title(main="Monthly Precipitation \n in New York ")