3
3
Text introduction
4
4
=================
5
5
6
- matplotlib has excellent text support, including mathematical
7
- expressions, truetype support for raster and vector outputs, newline
8
- separated text with arbitrary rotations, and unicode support. Because
9
- we embed the fonts directly in the output documents, e.g., for postscript
6
+ matplotlib has extensive text support, including support for
7
+ mathematical expressions, truetype support for raster and
8
+ vector outputs, newline separated text with arbitrary
9
+ rotations, and unicode support. Because it embeds
10
+ fonts directly in output documents, e.g., for postscript
10
11
or PDF, what you see on the screen is what you get in the hardcopy.
11
12
`freetype2 <http://www.freetype.org/ >`_ support
12
13
produces very nice, antialiased fonts, that look good even at small
13
14
raster sizes. matplotlib includes its own
14
- :mod: `matplotlib.font_manager `, thanks to Paul Barrett, which
15
- implements a cross platform, W3C compliant font finding algorithm.
16
-
17
- You have total control over every text property (font size, font
18
- weight, text location and color, etc) with sensible defaults set in
19
- the rc file. And significantly for those interested in mathematical
15
+ :mod: `matplotlib.font_manager ` (thanks to Paul Barrett), which
16
+ implements a cross platform, `W3C <http://www.w3.org/> `
17
+ compliant font finding algorithm.
18
+
19
+ The user has a great deal of control over text properties (font size, font
20
+ weight, text location and color, etc.) with sensible defaults set in
21
+ the `rc file <http://matplotlib.org/users/customizing.html> `.
22
+ And significantly, for those interested in mathematical
20
23
or scientific figures, matplotlib implements a large number of TeX
21
- math symbols and commands, to support :ref: `mathematical expressions
24
+ math symbols and commands, supporting :ref: `mathematical expressions
22
25
<mathtext-tutorial>` anywhere in your figure.
23
26
24
27
@@ -31,10 +34,10 @@ interface
31
34
* :func: `~matplotlib.pyplot.text ` - add text at an arbitrary location to the ``Axes ``;
32
35
:meth: `matplotlib.axes.Axes.text ` in the API.
33
36
34
- * :func: `~matplotlib.pyplot.xlabel ` - add an axis label to the x-axis;
37
+ * :func: `~matplotlib.pyplot.xlabel ` - add a label to the x-axis;
35
38
:meth: `matplotlib.axes.Axes.set_xlabel ` in the API.
36
39
37
- * :func: `~matplotlib.pyplot.ylabel ` - add an axis label to the y-axis;
40
+ * :func: `~matplotlib.pyplot.ylabel ` - add a label to the y-axis;
38
41
:meth: `matplotlib.axes.Axes.set_ylabel ` in the API.
39
42
40
43
* :func: `~matplotlib.pyplot.title ` - add a title to the ``Axes ``;
0 commit comments