Matplotlib 和 pycharm

2019-12-31  本文已影响0人  东邪西魔

建立基本环境

[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host = pypi.douban.com
import numpy as np
import matplotlib.pyplot as plt

X = np.linspace(-np.pi, np.pi, 256, endpoint=True)
C,S = np.cos(X), np.sin(X)

plt.plot(X,C)
plt.plot(X,S)

plt.show()

Matplotlib厉害

坐标轴和刻度、网格

https://blog.csdn.net/wuzlun/article/details/80053277

Jupyter Note

https://jupyter.org/install.html

Python的拉伸和旋转

https://blog.csdn.net/wuguangbin1230/article/details/71107109

上一篇下一篇

猜你喜欢

热点阅读