numpy.linalg
scipy
matplotlib
import numpy as np import matplotlib.pyplot as pt
x = np.linspace(-10, 10, 100) pt.plot(x, np.sin(x)+x*0.5)
[<matplotlib.lines.Line2D at 0x7f9d3c6ca1d0>]
pic = np.sin(x)[:,np.newaxis] * np.cos(x) pt.imshow(pic)
<matplotlib.image.AxesImage at 0x7f9d3c69ef60>