.. _pylab_examples-simplification_clipping_test:

pylab_examples example code: simplification_clipping_test.py
============================================================



.. plot:: /build/buildd/matplotlib-0.98.5.2/doc/mpl_examples/pylab_examples/simplification_clipping_test.py

::

    from pylab import *
    
    t = arange(0.0, 2.0, 0.01)
    s = sin(2*pi*t)
    plot(t, s, linewidth=1.0)
    
    ylim((-0.20, -0.28))
    
    title('Should see four lines extending from bottom to top')
    grid(True)
    show()
    

Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)