张书会
[转载]matplotlib marker 设置
2019-9-17 23:20
阅读:5369

点号设置(marker)

如果不指定linstyle则默认为直线。
plot(marker = “”)

markerdescription
.point
,pixel
ocircle
vtriangle_down
^triangle_up
<triangle_left
>triangle_right
1tri_down
2tri_up
3tri_left
4tri_right
8octagon
ssquare
ppentagon
Pplus (filled)
*star
hhexagon1
Hhexagon2
+plus
xx
Xx (filled)
Ddiamond
dthin_diamond


_hline
TICKLEFTtickleft
TICKRIGHTtickright
TICKUPtickup
TICKDOWNtickdown
CARETLEFTcaretleft (centered at tip)
CARETRIGHTcaretright (centered at tip)
CARETUPcaretup (centered at tip)
CARETDOWNcaretdown (centered at tip)
CARETLEFTBASEcaretleft (centered at base)
CARETRIGHTBASEcaretright (centered at base)
CARETUPBASEcaretup (centered at base)
None, ” ” or “”nothing
...
render the string using mathtext.
vertsa list of (x, y) pairs used for Path vertices. The center of the marker is located at (0,0) and the size is normalized.
patha Path instance.


转载本文请联系原作者获取授权,同时请注明本文来自张书会科学网博客。

链接地址:https://wap.sciencenet.cn/blog-587102-1198403.html?mobile=1

收藏

分享到:

当前推荐数:0
推荐到博客首页
网友评论0 条评论
确定删除指定的回复吗?
确定删除本博文吗?