matplotlib

Previous topic

pylab_examples example code: subplot_demo.py

Next topic

pylab_examples example code: subplots_adjust.py

This Page

pylab_examples example code: subplot_toolbar.pyΒΆ

(Source code)

../../_images/subplot_toolbar_00.png

(png)

../../_images/subplot_toolbar_01.png

(png)

#!/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 Search examples)