(Source code, png)
#!/usr/bin/env python from pylab import * dt = 0.01 t = arange(dt, 20.0, dt) semilogx(t, exp(-t/5.0)) grid(True) show()
Keywords: python, matplotlib, pylab, example, codex (see Search examples)