|
8 | 8 | ============================== =============================================== |
9 | 9 | marker description |
10 | 10 | ============================== =============================================== |
11 | | -"." point |
12 | | -"," pixel |
13 | | -"o" circle |
14 | | -"v" triangle_down |
15 | | -"^" triangle_up |
16 | | -"<" triangle_left |
17 | | -">" triangle_right |
18 | | -"1" tri_down |
19 | | -"2" tri_up |
20 | | -"3" tri_left |
21 | | -"4" tri_right |
22 | | -"8" octagon |
23 | | -"s" square |
24 | | -"p" pentagon |
25 | | -"*" star |
26 | | -"h" hexagon1 |
27 | | -"H" hexagon2 |
28 | | -"+" plus |
29 | | -"x" x |
30 | | -"D" diamond |
31 | | -"d" thin_diamond |
32 | | -"|" vline |
33 | | -"_" hline |
34 | | -"P" plus (filled) |
35 | | -"X" x (filled) |
| 11 | +`"."` point |
| 12 | +`","` pixel |
| 13 | +`"o"` circle |
| 14 | +`"v"` triangle_down |
| 15 | +`"^"` triangle_up |
| 16 | +`"<"` triangle_left |
| 17 | +`">"` triangle_right |
| 18 | +`"1"` tri_down |
| 19 | +`"2"` tri_up |
| 20 | +`"3"` tri_left |
| 21 | +`"4"` tri_right |
| 22 | +`"8"` octagon |
| 23 | +`"s"` square |
| 24 | +`"p"` pentagon |
| 25 | +`"P"` plus (filled) |
| 26 | +`"*"` star |
| 27 | +`"h"` hexagon1 |
| 28 | +`"H"` hexagon2 |
| 29 | +`"+"` plus |
| 30 | +`"x"` x |
| 31 | +`"X"` x (filled) |
| 32 | +`"D"` diamond |
| 33 | +`"d"` thin_diamond |
| 34 | +`"|"` vline |
| 35 | +`"_"` hline |
36 | 36 | TICKLEFT tickleft |
37 | 37 | TICKRIGHT tickright |
38 | 38 | TICKUP tickup |
|
44 | 44 | CARETLEFTBASE caretleft (centered at base) |
45 | 45 | CARETRIGHTBASE caretright (centered at base) |
46 | 46 | CARETUPBASE caretup (centered at base) |
47 | | -"None" nothing |
48 | | -None nothing |
49 | | -" " nothing |
50 | | -"" nothing |
| 47 | +`"None"`, `" "` or `""` nothing |
51 | 48 | ``'$...$'`` render the string using mathtext. |
52 | 49 | `verts` a list of (x, y) pairs used for Path vertices. |
53 | 50 | The center of the marker is located at (0,0) and |
54 | 51 | the size is normalized. |
55 | 52 | path a `~matplotlib.path.Path` instance. |
56 | | -(`numsides`, `style`, `angle`) see below |
| 53 | +(`numsides`, `style`, `angle`) The marker can also be a tuple (`numsides`, |
| 54 | + `style`, `angle`), which will create a custom, |
| 55 | + regular symbol. |
| 56 | +
|
| 57 | + `numsides`: |
| 58 | + the number of sides |
| 59 | +
|
| 60 | + `style`: |
| 61 | + the style of the regular symbol: |
| 62 | + """""" |
| 63 | + ===== =================================== |
| 64 | + Value Description |
| 65 | + 0 a regular polygon |
| 66 | + 1 a star-like symbol |
| 67 | + 2 an asterisk |
| 68 | + 3 a circle (`numsides` and `angle` is |
| 69 | + ignored) |
| 70 | + ===== =================================== |
| 71 | + """""" |
| 72 | + `angle`: |
| 73 | + the angle of rotation of the symbol |
57 | 74 | ============================== =============================================== |
58 | 75 |
|
59 | | -The marker can also be a tuple (`numsides`, `style`, `angle`), which |
60 | | -will create a custom, regular symbol. |
61 | | -
|
62 | | - `numsides`: |
63 | | - the number of sides |
64 | | -
|
65 | | - `style`: |
66 | | - the style of the regular symbol: |
67 | | -
|
68 | | - ===== ============================================= |
69 | | - Value Description |
70 | | - ===== ============================================= |
71 | | - 0 a regular polygon |
72 | | - 1 a star-like symbol |
73 | | - 2 an asterisk |
74 | | - 3 a circle (`numsides` and `angle` is ignored) |
75 | | - ===== ============================================= |
76 | | -
|
77 | | - `angle`: |
78 | | - the angle of rotation of the symbol, in degrees |
79 | | -
|
80 | 76 | For backward compatibility, the form (`verts`, 0) is also accepted, |
81 | 77 | but it is equivalent to just `verts` for giving a raw set of vertices |
82 | 78 | that define the shape. |
| 79 | +
|
| 80 | +`None` is the default which means 'nothing', however this table is |
| 81 | +referred to from other docs for the valid inputs from marker inputs and in |
| 82 | +those cases `None` still means 'default'. |
83 | 83 | """ |
| 84 | + |
84 | 85 | from __future__ import (absolute_import, division, print_function, |
85 | 86 | unicode_literals) |
86 | 87 |
|
|
0 commit comments