Welcome to the exercises for reviewing matplotlib! Take your time with these, Matplotlib can be tricky to understand at first. These are relatively simple plots, but they can be hard if this is your first time with matplotlib, feel free to reference the solutions as you go along.
** * NOTE: ALL THE COMMANDS FOR PLOTTING A FIGURE SHOULD ALL GO IN THE SAME CELL. SEPARATING THEM OUT INTO MULTIPLE CELLS MAY CAUSE NOTHING TO SHOW UP. * **
Follow the instructions to recreate the plots using this data:
import numpy as np
x = np.arange(0,100)
y = x*2
z = x**2
x[:3]
y[:3]
** Create a figure object and put two axes on it, ax1 and ax2. Located at [0,0,1,1] and [0.2,0.5,.2,.2] respectively.**
** Now plot (x,y) on both axes. And call your figure object to show it.**
** Create the plot below by adding two axes to a figure object at [0,0,1,1] and [0.2,0.5,.4,.4]**
** Now use x,y, and z arrays to recreate the plot below. Notice the xlimits and y limits on the inserted plot:**
** Use plt.subplots(nrows=1, ncols=2) to create the plot below.**
** Now plot (x,y) and (x,z) on the axes. Play around with the linewidth and style**
** See if you can resize the plot by adding the figsize() argument in plt.subplots() are copying and pasting your previous code.**