发布时间:2024-03-03 17:01
marker | symbol | description |
---|---|---|
\".\" |
![]() |
point |
\",\" |
![]() |
pixel |
\"o\" |
![]() |
circle |
\"v\" |
![]() |
triangle_down |
\"^\" |
![]() |
triangle_up |
\"<\" |
![]() |
triangle_left |
\">\" |
![]() |
triangle_right |
\"1\" |
![]() |
tri_down |
\"2\" |
![]() |
tri_up |
\"3\" |
![]() |
tri_left |
\"4\" |
![]() |
tri_right |
\"8\" |
![]() |
octagon |
\"s\" |
![]() |
square |
\"p\" |
![]() |
pentagon |
\"P\" |
![]() |
plus (filled) |
\"*\" |
![]() |
star |
\"h\" |
![]() |
hexagon1 |
\"H\" |
![]() |
hexagon2 |
\"+\" |
![]() |
plus |
\"x\" |
![]() |
x |
\"X\" |
![]() |
x (filled) |
\"D\" |
![]() |
diamond |
\"d\" |
![]() |
thin_diamond |
`\" | \"` | ![]() |
\"_\" |
![]() |
hline |
0 (TICKLEFT ) |
![]() |
tickleft |
1 (TICKRIGHT ) |
![]() |
tickright |
2 (TICKUP ) |
![]() |
tickup |
3 (TICKDOWN ) |
![]() |
tickdown |
4 (CARETLEFT ) |
![]() |
caretleft |
5 (CARETRIGHT ) |
![]() |
caretright |
6 (CARETUP ) |
![]() |
caretup |
7 (CARETDOWN ) |
![]() |
caretdown |
8 (CARETLEFTBASE ) |
![]() |
caretleft (centered at base) |
9 (CARETRIGHTBASE ) |
![]() |
caretright (centered at base) |
10 (CARETUPBASE ) |
![]() |
caretup (centered at base) |
11 (CARETDOWNBASE ) |
![]() |
caretdown (centered at base) |
\"None\" , \" \" or \"\" |
nothing | |
\'$...$\' |
![]() |
Render the string using mathtext. E.g \"$f$\" for marker showing the letter f . |
verts |
A list of (x, y) pairs used for Path vertices. The center of the marker is located at (0, 0) and the size is normalized, such that the created path is encapsulated inside the unit cell. | |
path | A Path instance. |
|
(numsides, 0, angle) |
A regular polygon with numsides sides, rotated by angle . |
|
(numsides, 1, angle) |
A star-like symbol with numsides sides, rotated by angle . |
|
(numsides, 2, angle) |
An asterisk with numsides sides, rotated by angle . |
import matplotlib.pyplot as plt
import random
random.seed(2022)
y = [random.gauss(0, 1) for i in range(10)]
x = range(10)
print(y)
# [-1.059911532796699, -0.21343209892227447, -0.13048724278481846, 0.3292493351854598,
# 0.5945395388166395, -2.772070654427417, -1.2083544534018353, 0.7418635616787197,
# 0.7416186001053393, -1.8432987685720519]
fig, ((ax1, ax2), (ax3, ax4)) = plt.subplots(2, 2, figsize=(12, 6))
ax1.plot(x, y, marker=\'.\', color=\'r\') # marker=\'.\'
ax2.plot(x, y, marker=\',\', color=\'g\') # marker=\',\'
ax3.plot(x, y, marker=\',\', color=\'b\') # marker=\'1\'
ax4.plot(x, y, marker=\'D\', color=\'pink\') # marker=\'D\'
Ubuntu20.04安装NVIDIA驱动+cuda+cudnn+anaconda+pytorch+pycharm经验
TensorFlow深度学习应用开发实战(深度学习简介和开发环境搭建)
互联网晚报 | 8月18日 星期三 | 荣耀回应上市传闻;小爱同学宣布月活用户破亿;许家印卸任恒大地产董事长...
各种机器学习算法分类器,线性回归——Python代码(KNN,MLP,SVM,随机森林,RF,GBDT)
【最全】PS各个版本下载安装及小试牛刀教程(PhotoShop CS3 ~~ PhotoShop 2022)