how to set limits in a graph r
to hold the new plot. The plot.window()call sets the limits for the x and y coordinates in the graph. The abline()call draws a line with intercept 6 and slope 3 across the graph. axis(1)draws the x-axis. axis(2)draws the y-axis. Calls to title()are used to add annotation. box()draws a box around the graph.