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) usestheindicesof thearrayforthex-axis. 4 02 2 4 0 5 10 15 20 25 (b)plt.plot(x,y) specifiesboththe domainandtherange. Figure5.1: Plotsoff(x) = x2 overtheinterval[ 5;5]. Problem 1. ................
................