8.3 Improving Plot Display

This basic plot can be improved in several ways to better communicate your results. Instead of showing the plot as separate points, you can show the points as a solid line. You could add a title and add descriptors for the values that are plotted on the axes.

plot(t, A1, type = "l", xlab = "Time (in years)", 
     ylab = "Accumulated Value (in $)", 
     main = "Accumulated Value of $1000 Investment")