Lab 5 Introduction to Matplotlib

64 Lab 5. Matplotlib (a) plt.plot(y) uses the indices of the array for the x-axis. (b) plt.plot(x,y) specifies both the domain and the range. Figure 5.1: Simple plots of f(x)=x2 over the interval x 2 [5,5]. Problem 1. Write a function that accepts an integer n as input. ................
................