python的pyplot画折线图
python3,脚本挂日志就能生成折线图
import numpy as np
import matplotlib.pyplot as plt
import sys
import re
x = []
y = []
x_start = 0
x_step = 5
fp =open(sys.argv[1], 'rb')
for line in fp.readlines():
text = line.decode()
if "%," in text:
#print(re.f.
原创
2022-01-20 21:15:56 ·
1046 阅读 ·
0 评论