December 2017
Intermediate to advanced
386 pages
10h 42m
English
Run the following code in a Jupyter code cell:
plt.figure(figsize=(8,4))plt.subplot(1, 2, 1)xvalues = np.linspace(0, 1, 200)plt.plot(xvalues, ls = '-', color='green')plt.plot(xvalues + 1, ls = '--', color='green')plt.plot(xvalues + 2, ls = ':', color='green')plt.plot(xvalues + 3, ls = '-.', color='green')plt.subplot(1, 2, 2)xvalues = np.linspace(0, 1, 6)plt.plot(xvalues, marker = 'o', ls='', color='blue')plt.plot(xvalues + 1, marker = '^', ls='', color='blue')plt.plot(xvalues + 2, marker = '*', ls='--', color='blue')plt.plot(xvalues + 3, marker = '>', ls=':', color='blue', mec='black', mfc='red', ms=15)None
This will produce the following output:
Read now
Unlock full access