draw graph with numpy and pylab