[转载]matplotlib marker 设置
2019-9-17 23:20
阅读:5369
点号设置(marker)
如果不指定linstyle则默认为直线。
plot(marker = “”)
marker | 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 |
TICKLEFT | tickleft |
TICKRIGHT | tickright |
TICKUP | tickup |
TICKDOWN | tickdown |
CARETLEFT | caretleft (centered at tip) |
CARETRIGHT | caretright (centered at tip) |
CARETUP | caretup (centered at tip) |
CARETDOWN | caretdown (centered at tip) |
CARETLEFTBASE | caretleft (centered at base) |
CARETRIGHTBASE | caretright (centered at base) |
CARETUPBASE | caretup (centered at base) |
None, ” ” or “” | nothing |
... | |
’ | render the string using mathtext. |
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. |
path | a Path instance. |
转载本文请联系原作者获取授权,同时请注明本文来自张书会科学网博客。
链接地址:https://wap.sciencenet.cn/blog-587102-1198403.html?mobile=1
收藏
当前推荐数:0
推荐到博客首页
网友评论0 条评论