1、点的样式就是标记符号,总结如下:
‘.’:点(point marker) ‘,’:像素点(pixel marker)
‘o’:圆形(circle marker) ‘v’:朝下三角形(triangle_down marker)
‘^’:朝上三角形(triangle_up marker) ‘<‘:朝左三角形(triangle_left marker)
‘>’:朝右三角形(triangle_right marker) ‘1’:(tri_down marker)
‘2’:(tri_up marker) ‘3’:(tri_left marker)
‘4’:(tri_right marker) ‘s’:正方形(square marker)
‘p’:五边星(pentagon marker) ‘*’:星型(star marker)
‘h’:1号六角形(hexagon1 marker) ‘H’:2号六角形(hexagon2 marker)
‘+’:+号标记(plus marker) ‘x’:x号标记(x marker)
‘D’:菱形(diamond marker) ‘d’:小型菱形(thin_diamond marker)
‘|’:垂直线形(vline marker) ‘_’:水平线形(hline marker)
设置标记符用 marker 参数。
2,线条风格,总结如下:
‘-‘:实线(solid line style) ‘–‘:虚线(dashed line style)
‘-.’:点划线(dash-dot line style) ‘:’:点线(dotted line style)
设置线条风格用 linestyle 参数,可简写为 ls。