zsh2270365028的个人博客分享 http://blog.sciencenet.cn/u/zsh2270365028

博文

[转载]matplotlib marker 设置

已有 5371 次阅读 2019-9-17 23:20 |个人分类:matplotlib|系统分类:科研笔记|文章来源:转载

点号设置(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://blog.sciencenet.cn/blog-587102-1198403.html

上一篇:Python-numpy
下一篇:[转载]笔记应用-Notion
收藏 IP: 119.78.226.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-12-5 09:10

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部