@@ -68,7 +68,7 @@ Bar charts
6868
6969The :func: `~matplotlib.pyplot.bar `
7070command takes error bars as an optional argument. You can also use up
71- and down bars, stacked bars, candlestic' bars, etc, ... See
71+ and down bars, stacked bars, candlestick bars, etc, ... See
7272`bar_stacked.py <examples/pylab_examples/bar_stacked.py >`_ for another example.
7373You can make horizontal bar charts with the
7474:func: `~matplotlib.pyplot.barh ` command.
@@ -83,7 +83,7 @@ Pie charts
8383
8484The :func: `~matplotlib.pyplot.pie ` command
8585uses a matlab(TM) compatible syntax to produce py charts. Optional
86- features include auto-labeling the percentage of area, " exploding" one
86+ features include auto-labeling the percentage of area, exploding one
8787or more wedges out from the center of the pie, and a shadow effect.
8888Take a close look at the attached code that produced this figure; nine
8989lines of code.
@@ -108,7 +108,7 @@ Scatter demo
108108
109109The :func: `~matplotlib.pyplot.scatter ` command makes a scatter plot
110110with (optional) size and color arguments. This example plots changes
111- in Intel's stock price from one day to the next with the sizes coding
111+ in Google stock price from one day to the next with the sizes coding
112112trading volume and the colors coding price change in day i. Here the
113113alpha attribute is used to make semitransparent circle markers with
114114the Agg backend (see :ref: `what-is-a-backend `)
@@ -150,21 +150,21 @@ You can plot date data with major and minor ticks and custom tick
150150formatters for both the major and minor ticks; see matplotlib.ticker
151151and matplotlib.dates for details and usage.
152152
153- todoplot :: ../mpl_examples/api/date_demo.py
153+ plot :: ../mpl_examples/api/date_demo.py
154154
155155.. _screenshots_jdh_demo :
156156
157157Financial charts
158158================
159159
160160You can make much more sophisticated financial plots. This example
161- emulates one of the `ChartDirector` <http://www.advsofteng.com/gallery_finance.html>
161+ emulates one of the `ChartDirector <http://www.advsofteng.com/gallery_finance.html> `
162162financial plots. Some of the data in the plot, are real financial
163163data, some are random traces that I used since the goal was to
164164illustrate plotting techniques, not market analysis!
165165
166166
167- todoplot :: ../mpl_examples/pylab_examples/finance_work2.py
167+ plot :: ../mpl_examples/pylab_examples/finance_work2.py
168168
169169
170170.. _screenshots_basemap_demo :
@@ -182,4 +182,89 @@ stereographic. See the `tutorial
182182
183183.. plot :: plotmap.py
184184
185+ .. _screenshots_log_demo :
186+
187+ Log plots
188+ =========
189+
190+ The :func: `~matplotlib.pyplot.semilogx `,
191+ :func: `~matplotlib.pyplot.semilogy ` and
192+ :func: `~matplotlib.pyplot.loglog ` functions generate log scaling on the
193+ respective axes. The lower subplot uses a base10 log on the xaxis and
194+ a base 4 log on the yaxis. Thanks to Andrew Straw, Darren Dale and
195+ Gregory Lielens for contributions to the log scaling
196+ infrastructure.
197+
198+
199+
200+ plot:: ../mpl_examples/pylab_examples/log_demo.py
201+
202+ .. _screenshots_polar_demo :
203+
204+ Polar plots
205+ ===========
206+
207+ The :func: `~matplotlib.pyplot.polar ` command generates polar plots.
208+
209+ plot:: ../mpl_examples/pylab_examples/polar_demo.py
210+
211+ .. _screenshots_legend_demo :
212+
213+ Legends
214+ =======
215+
216+ The :func: `~matplotlib.pyplot.legend ` command automatically
217+ generates figure legends, with Matlab compatible legend placement
218+ commands. Thanks to Charles Twardy for input on the legend
219+ command
220+
221+ plot:: ../mpl_examples/pylab_examples/legend_demo.py
222+
223+ .. _screenshots_mathtext_examples_demo :
224+
225+ Mathtext_examples
226+ =================
227+
228+ A sampling of the many TeX expressions now supported by matplotlib's
229+ internal mathtext engine. The mathtext module provides TeX style
230+ mathematical expressions using freetype2 and the BaKoMa computer
231+ modern or STIX fonts. See the matplotlib.mathtext module for
232+ additional. matplotlib mathtext is an independent implementation, and
233+ does not required TeX or any external packages installed on your
234+ computer.
235+
236+ plot:: ../mpl_examples/pylab_examples/mathtext_examples.py
237+
238+ .. _screenshots_tex_demo :
239+
240+ Native TeX rendering
241+ ====================
242+
243+ Although matplotlib's internal math rendering engine is quite
244+ powerful, sometimes you need TeX, and matplotlib supports external TeX
245+ rendering of strings with the *usetex * option.
246+
247+ plot:: tex_demo.py
248+
249+ .. _screenshots_eeg_demo :
250+
251+ =========
252+
253+ You can embed matplotlib into pygtk, wxpython, Tk, FLTK or Qt
254+ applications. Here is a screenshot of an eeg viewer called pbrain
255+ which is part of the NeuroImaging in Python suite `NIPY
256+ <http://neuroimaging.scipy.org> `. Pbrain is written in pygtk using
257+ matplotlib. The lower axes uses :func: `~matplotlib.pyplot.specgram `
258+ to plot the spectrogram of one of the EEG channels. The code demo
259+ linked above is a much simpler example of embedding matplotlib in
260+ pygtk. For an example of how to use the navigation toolbar in your
261+ applications, see examples/user_interfaces/embedding_in_gtk2.py. If
262+ you want to use matplotlib in a wx application, see
263+ examples/user_interfaces/embedding_in_wx2.py. If you want to work
264+ with `glade <http://glade.gnome.org >`_, see
265+ examples/user_interfaces/mpl_with_glade.py
266+
267+ .. image :: ../_static/eeg_small.png
268+
269+
185270
0 commit comments