In [8]:
import matplotlib.pyplot as plt
import numpy as np
y = np.arange(1,3,0.2)
# string in calls to plots is 3-part:
# yx-- means yellow, marker symbol x, with -- linestyle
plt.plot(y, 'yx--')
plt.plot(y+1, 'bo-.')
plt.plot(y+2, 'ms:')
plt.show()

In [ ]:
# Alternative syntax using keywords
plt.plot(y, color='r', marker='o', markeredgecolor='y', markersize=10)
plt.plot(y+2, color='b', marker='x', markeredgecolor='y')
plt.show()

In [ ]: