.. _pylab_examples-log_test:

pylab_examples example code: log_test.py
========================================



.. plot:: /media/TOSHI/temp/numpy_scipy_matplotlib/matplotlib/matplotlib-1.1.1~rc2/doc/mpl_examples/pylab_examples/log_test.py

::

    #!/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 :ref:`how-to-search-examples`)