尝试用md编辑器写博客, 内容为 jupyter笔记

Matplotlib tutorial

http://www.labri.fr/perso/nrougier/teaching/matplotlib/#introduction


%matplotlib inline
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()

png


posted @ 2016-08-21 14:46  duanqs  阅读(393)  评论(0编辑  收藏  举报