import numpy as np import pylab as pl x = np.linspace(0., .5, 100) y = np.linspace(0., .5, 100) pl.plot(x, y) pl.show()