forked from matplotlib/matplotlib.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
311 lines (258 loc) · 11.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>matplotlib: python plotting — Matplotlib 1.2.1 documentation</title>
<link rel="stylesheet" href="_static/mpl.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.2.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="search" type="application/opensearchdescription+xml"
title="Search within Matplotlib 1.2.1 documentation"
href="_static/opensearch.xml"/>
<link rel="top" title="Matplotlib 1.2.1 documentation" href="#" />
<link rel="canonical" href="https://matplotlib.org/index.html" />
</head>
<body>
<!-- Piwik -->
<script type="text/javascript">
if ("matplotlib.sourceforge.net" == document.location.hostname ||
"matplotlib.sf.net" == document.location.hostname) {
var pkBaseURL = (("https:" == document.location.protocol) ? "https://apps.sourceforge.net/piwik/matplotlib/" : "http://apps.sourceforge.net/piwik/matplotlib/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
if ("matplotlib.sourceforge.net" == document.location.hostname ||
"matplotlib.sf.net" == document.location.hostname) {
piwik_action_name = '';
piwik_idsite = 1;
piwik_url = pkBaseURL + "piwik.php";
piwik_log(piwik_action_name, piwik_idsite, piwik_url);
document.write(unescape('%3Cobject%3E%3Cnoscript%3E%3Cp%3E%3Cimg src="http://apps.sourceforge.net/piwik/matplotlib/piwik.php?idsite=1" alt="piwik"/%3E%3C/p%3E%3C/noscript%3E%3C/object%3E'));
}
</script>
<!-- End Piwik Tag -->
<link rel="shortcut icon" href="_static/favicon.ico">
<!-- The "Fork me on github" ribbon -->
<img style="float: right; margin-bottom: -40px; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" usemap="#ribbonmap"/>
<map name="ribbonmap">
<area shape="poly" coords="15,0,148,-1,148,135" href="https://github.com/matplotlib/matplotlib" title="Fork me on GitHub" />
</map>
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<a href="#"><img src="_static/logo2.png" border="0" alt="matplotlib"/></a>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="#">home</a>| </li>
<li><a href="http://www.matplotlib.org/downloads.html">downloads</a>| </li>
<li><a href="search.html">search</a>| </li>
<li><a href="examples/index.html">examples</a>| </li>
<li><a href="gallery.html">gallery</a>| </li>
<li><a href="citing.html">citation</a>| </li>
<li><a href="contents.html">docs</a> »</li>
</ul>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<h1>John Hunter (1968-2012)</h1>
<table bgcolor="#ddddff">
<tr>
<td>
<img src="_static/John-hunter-crop-2.jpg"/>
</td>
<td>
<p>
On August 28 2012, John D. Hunter, the creator of matplotlib, died
from complications arising from cancer treatment, after a brief but
intense battle with this terrible illness. John is survived by his
wife Miriam, his three daughters Rahel, Ava and Clara, his sisters
Layne and Mary, and his mother Sarah.</p>
<p>
If you have benefited from John's many contributions, please say
thanks in the way that would matter most to him. Please consider
making a donation to
the <a href="http://numfocus.org/johnhunter/">John Hunter Memorial
Fund</a>.</p>
</td>
</tr>
</table>
<h1>Introduction</h1>
<p>matplotlib is a python 2D plotting library which produces
publication quality figures in a variety of hardcopy formats and
interactive environments across platforms. matplotlib can be used
in python scripts, the python and <a
href="http://ipython.org">ipython</a> shell (ala
MATLAB<sup>®<a name="matlab" href="#ftn.matlab">*</a></sup>
or
Mathematica<sup>®<a name="mathematica"
href="#ftn.mathematica">†</a></sup>),
web application servers, and six graphical user
interface toolkits.</p>
<p align="center"><a href="users/screenshots.html"><img align="middle"
src="_static/logo_sidebar_horiz.png" border="0"
alt="screenshots"/></a></p>
<p>matplotlib tries to make easy things easy and hard things possible.
You can generate plots, histograms, power spectra, bar charts,
errorcharts, scatterplots, etc, with just a few lines of code.
For a sampling, see the <a href="users/screenshots.html">screenshots</a>, <a href="gallery.html">thumbnail</a> gallery, and
<a href="examples/index.html">examples</a> directory</p>
<p>For example, using <tt>"ipython --pylab"</tt> to provide an interactive
environment, to generate 10,000 gaussian random numbers and plot a
histogram with 100 bins, you simply need to
type</p>
<pre>
x = randn(10000)
hist(x, 100)</pre>
<p>For the power user, you have full control of line styles, font
properties, axes properties, etc, via an object oriented interface
or via a set of functions familiar to MATLAB users.</p>
<h1>Download</h1>
Visit the
<a href="http://matplotlib.org/downloads.html">matplotlib downloads
page</a>.
<h1>Documentation</h1>
This is the documentation for matplotlib version 1.2.1.
<p id="other_versions"></p>
<script>
getSnippet('other_versions', '/versions.html');
</script>
<p>Trying to learn how to do a particular kind of plot? Check out
the <a href="gallery.html">gallery</a>, <a href="examples/index.html">examples</a>,
or the <a href="api/pyplot_summary.html">list of plotting
commands</a>.</p>
<h4>Other learning resources</h4>
<ul>
<li>Sandro Tosi has a new book
<a href="http://www.packtpub.com/matplotlib-python-development/book?utm_source=matplotlib.sourceforge.net&utm_medium=link&utm_content=pod&utm_campaign=mdb_002124">Matplotlib
for python developers</a> also
at <a href="http://www.amazon.com/Matplotlib-Python-Developers-Sandro-Tosi/dp/1847197906">amazon</a>.</li>
<li>Nicolas Rougier has
a <a href="http://www.loria.fr/~rougier/teaching/matplotlib/">beginner
tutorial.</a></li>
<li>Eric Jones gave
an <a href="http://www.youtube.com/watch?v=3Fp1zn5ao2M&feature=plcp">introductory
tutorial on Numpy and matplotlib</a> at SciPy 2012.</li>
</ul>
<h4>Need help?</h4>
<p>Check the <a href="faq/index.html">faq</a>,
the <a href="api/index.html">api</a> docs,
<a href="http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html">mailing
list archives</a>, and join the matplotlib
mailing <a href="http://sourceforge.net/mail/?group_id=80706">lists</a>.
Check out the matplotlib questions
on <a href="http://stackoverflow.com/questions/tagged/matplotlib">stackoverflow</a>.
The <a href="search.html">search</a> tool searches all of
the documentation, including full text search of over 350 complete
examples which exercise almost every corner of matplotlib.</p>
<p>You can file bugs, patches and feature requests on the
github
<a href="https://github.com/matplotlib/matplotlib/issues?sort=created&direction=desc&state=open">tracker</a>,
but it is a good idea to ping us on the mailing list too.</p>
<p>To keep up to date with what's going on in matplotlib, see
the <a href="users/whats_new.html">what's new
page</a>, the more detailed <a href="_static/CHANGELOG">changelog</a> or browse
the <a href="https://github.com/matplotlib/matplotlib">source
code</a>. Anything that could require changes to your existing code
is logged in the <a href="api/api_changes.html">api
changes</a> file.</p>
<h1>Toolkits</h1>
<p>There are several matplotlib add-on <a href="mpl_toolkits/index.html">toolkits</a>, including the projection
and mapping toolkit
<a href="http://matplotlib.github.com/basemap">basemap</a>, 3d plotting with <a href="mpl_toolkits/mplot3d/index.html">mplot3d</a>, axes and axis helpers in <a href="mpl_toolkits/axes_grid/index.html">axes_grid</a> and more.
</p>
<h1>Citing matplotlib</h1>
<p>
matplotlib is the brainchild of John Hunter (1968-2012), who has put an
inordinate amount of effort into producing a piece of software utilized by
thousands of scientists worldwide.
If matplotlib contributes to a project that leads to a scientific publication,
please acknowledge this fact by citing the project. You can use this
<a href="citing.html">ready-made citation entry</a>.
</p>
<h1>Open source</h1>
<p>Please
consider <a href="http://sourceforge.net/project/project_donations.php?group_id=80706">donating</a>
to support matplotlib development or to
the <a href="http://numfocus.org/johnhunter/">John Hunter Memorial
Fund</a>.</p>
<p>The matplotlib <a href="users/license.html">license</a>
is based on the Python Software Foundation
<a href="http://www.python.org/psf/license">(PSF)</a> license.</p>
<p>There is an active developer community and a long list of people
who have made significant <a href="users/credits.html">contributions</a>.</p>
<div class="footnote"><p>
<sup><a name="ftn.matlab" href="#matlab">*</a></sup>
MATLAB is a registered trademark of The MathWorks, Inc.
</p>
<p>
<sup><a name="ftn.mathematica" href="#mathematica">†</a></sup>
Mathematica is a registered trademark of Wolfram Research, Inc.
</p>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="#">home</a>| </li>
<li><a href="http://www.matplotlib.org/downloads.html">downloads</a>| </li>
<li><a href="search.html">search</a>| </li>
<li><a href="examples/index.html">examples</a>| </li>
<li><a href="gallery.html">gallery</a>| </li>
<li><a href="citing.html">citation</a>| </li>
<li><a href="contents.html">docs</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2013 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the matplotlib development team.
Last updated on May 29, 2013.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html>