python数据分析之matplotlib绘图 plt 的使用

废话不多说,先上一张图 :

    完整代码以及数据:https://download.csdn.net/download/bamboo265925/11548633(提供支持,公众号:海之鹰工作室)

python数据分析之matplotlib绘图 plt 的使用_第1张图片

import os
import math
import matplotlib.pyplot as plt


def readTxtShow(rootdir):

    with open(rootdir, 'r',encoding='utf-8') as file_to_read:
        while True:
            line = file_to_read.readline()
            line = line.strip('\n')
            lineStr=line.split(",")
            if not line:
                break
     

你可能感兴趣的:(视觉_Opencv)