from matplotlib import pyplot as plt
import numpy as np
xa = np.linspace(0, 12, 100) #x, y 축 눈금 간격을 100으로 균일하게 설정
ya = np.sin(xa)*np.exp(-xa/4)
plt.plot(xa, ya)
plt.show()
'python > Matplotlib' 카테고리의 다른 글
접점 (0) | 2021.07.25 |
---|---|
두 함수의 교차점 (0) | 2021.07.25 |
1차함수 (0) | 2021.07.25 |
Plotting with categorical variables (0) | 2021.07.19 |
Plotting with keyword strings (0) | 2021.07.19 |