matplotlib

Previous topic

pylab_examples example code: log_demo.py

Next topic

pylab_examples example code: logo.py

This Page

pylab_examples example code: log_test.pyΒΆ

(Source code, png)

../../_images/log_test.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)