.. _pylab_examples-subplot_toolbar:

pylab_examples example code: subplot_toolbar.py
===============================================



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

::

    #!/usr/bin/env python
    
    from pylab import *
    
    fig = figure()
    subplot(221)
    imshow(rand(100,100))
    subplot(222)
    imshow(rand(100,100))
    subplot(223)
    imshow(rand(100,100))
    subplot(224)
    imshow(rand(100,100))
    
    subplot_tool()
    show()
    

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