import matplotlib.pyplot as plt
import numpy as np
# evenly sampled time at 200ms intervals
t = np.arange(0., 5., 0.2)
# red dashes, blue squares and green triangles
plt.plot(t, t, 'r--', t, t**2, 'bs', t, t**3, 'g^')
plt.show()

'python > Matplotlib' 카테고리의 다른 글
| Plotting with categorical variables (0) | 2021.07.19 |
|---|---|
| Plotting with keyword strings (0) | 2021.07.19 |
| 점 그래프 (0) | 2021.07.19 |
| pyplot_2 (0) | 2021.07.19 |
| pyplot (0) | 2021.07.19 |