|
1 |
| -# for matplotlib markers, see: http://matplotlib.org/api/markers_api.html |
| 1 | +# for matplotlib markers, see https://matplotlib.org/api/markers_api.html |
2 | 2 | _MP_MARKER2PGF_MARKER = {
|
3 | 3 | ".": "*", # point
|
| 4 | + # ",": # pixel |
4 | 5 | "o": "o", # circle
|
5 | 6 | "+": "+", # plus
|
| 7 | + "P": "+", # actually plus filled |
6 | 8 | "x": "x", # x
|
| 9 | + "X": "x", # actually x filled |
7 | 10 | "None": None,
|
8 | 11 | " ": None,
|
9 | 12 | "": None,
|
10 | 13 | }
|
11 | 14 |
|
12 | 15 | # the following markers are only available with PGF's plotmarks library
|
| 16 | +# See |
| 17 | +# <https://mirror.clientvps.com/CTAN/graphics/pgf/contrib/pgfplots/doc/pgfplots.pdf>, |
| 18 | +# chapter 4.7, page 183 ff. |
13 | 19 | _MP_MARKER2PLOTMARKS = {
|
14 | 20 | "v": ("triangle", ["rotate=180"]), # triangle down
|
15 |
| - "1": ("triangle", ["rotate=180"]), |
16 | 21 | "^": ("triangle", []), # triangle up
|
17 |
| - "2": ("triangle", []), |
18 | 22 | "<": ("triangle", ["rotate=270"]), # triangle left
|
19 |
| - "3": ("triangle", ["rotate=270"]), |
20 | 23 | ">": ("triangle", ["rotate=90"]), # triangle right
|
21 |
| - "4": ("triangle", ["rotate=90"]), |
| 24 | + "1": ("Mercedes star flipped", []), |
| 25 | + "2": ("Mercedes star", []), |
| 26 | + "3": ("Mercedes star", ["rotate=90"]), |
| 27 | + "4": ("Mercedes star", ["rotate=270"]), |
22 | 28 | "s": ("square", []),
|
23 | 29 | "p": ("pentagon", []),
|
24 | 30 | "*": ("asterisk", []),
|
|
0 commit comments