5 Introduction to Matplotlib

2 Lab 5. Introduction to Matplotlib 0 2 4 6 8 10 0 5 10 15 20 25 (a) plt.plot(y) uses the indices of the array for the x-axis. 4 02 2 4 0 5 10 15 20 25 (b) plt.plot(x,y) speci es both the domain and the range. Figure 5.1: Plots of f(x) = x2 over the interval [ 5;5]. Problem 1. ................
................