输入:

'''
Created on 2018年12月12日

@author: hcl
'''

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
 
file_path = 'Realtime_TH.csv'
msg = pd.read_csv(file_path)
# print(msg.shape)  #(1917, 6)
# print(msg.head())
# print(msg.tail())
X = range(msg.shape[0])
Y = msg['Temp']
plt.plot(X,Y)
plt.show()

结果:

python绘制环境曲线

相关文章:

  • 2022-01-11
  • 2021-12-06
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-19
  • 2021-05-03
  • 2021-06-17
  • 2021-11-24
  • 2022-01-10
  • 2021-06-18
相关资源
相似解决方案