shots = (
('simple_plot', 'The most basic plot, with text labels', 1),
('subplot_demo',
"""Multiple regular axes are created with subplot. This is a screenshot of the
matplotlib figure window. Navigation controls on the bottom of the
figure let you pan and zoom the X and Y axis of any combination of
subplots together or separately""", 0),
('histogram_demo',
"""The hist command
automatically generates histograms and will return the bin counts
or probabilities""", 1),
('barchart_demo',
"""The bar command
takes error bars as an optional argument.
""", 1),
('scatter_demo2',
"""The scatter command
makes a scatter plot with (optional) size and color arguments. This
example plots changes in Intel's stock price from one day to the next
with the sizes coding trading volume and the colors coding price
change in day i.
""", 1),
('log_shot', """The semilogx, semilogy and loglog commands generate log
scaling on the respective axes. Thanks to Andrew Straw for providing
the log scaling infrastructure.""", 1),
('legend_demo', """The legend command automatically
generates figure legends, with matltab compatible legend placement
commands. Thanks to Charles Twardy for input on the legend
command""", 1),
('pcolor_demo', """The pcolor command generates
pseudo color plots.""", 1),
('mri_with_eeg', """A magnetic resonace image (MRI) displayed using pcolor, image intensity in the
MRI plotted with hist, and
some EEG channels plotted as lines """, 1),
('text_themes', """You can specify themes for your axis text by
making a font dictionary. Here the default font is courier
and the default color is red, but you can override the defaults, as in
the function label in the axes. See text for more information. This example
uses a python dictionary to control text themes, but you can also use
matlab handle graphics calls. See the examples file
examples/text_handles.py in the src distribution for a handle graphics
demo.""", 1),
('axes_demo',
"""Arbitrary placement of axes is possible with the axes command. Here, two inset axes are
placed over a subplot.""", 1),
('eeg', """ You can embed matplotlib into a pygtk application. The FigureGTK
class is derived from gtk.DrawingArea.
Here is a screenshot of an eeg viewer written in pygtk using
matplotlib. The code demo linked above is a much simpler example of
embedding matplotlib in pygtk. For an example of how to use the
navigation toolbar in your applications, see
examples/embedding_in_gtk2.py in the src distribution.""", 0),
)
@header@
Matplotlib sample code and figures
Click on any image to enlarge
+ for shot, desc, mat in shots:
|
-
@footer@