plot(x, y, format_string, **kwargs)
参数 |
说明 |
x |
x轴数据 |
y |
y轴数据 |
format_string |
控制曲线的格式字符串,由颜色字符、风格字符和标记字符组成 |
**kwargs |
第2组或更多的(x, y, format_string) |
label |
设置标签 |
linewidth |
线条宽度 |
antialiased |
抗锯齿,False (关闭)和True (打开) |
示例:
import numpy as np
import matplotlib as mpl
import matplotl