Creating a live plot of CSV data with Matplotlib

后端 未结 2 519
情歌与酒
情歌与酒 2021-02-06 14:39

I am trying to use Matplotlib to visualize some measurements. The measurements typically last about 24hrs and will include ~30k lines of data in the csv. I\'ve been struggling m

2条回答
  •  粉色の甜心
    2021-02-06 15:03

    I have below columns as an operation of pandas filter column :

        Object      A_START_TIME   B_START_TIME  B_STOP_TIME       A_STOP_TIME
    0     17          27158762       27158803      27178575          27259032 
    
    1     18          27259557       27259605      27263225          27323232
    
    2     19          27323266       27323299      27332959          27341878
    

    I am looking at plotting something like explained below :

    for 17 : A_START_TIME----[B_START_TIME========B_STOP_TIME]-------A_STOP_TIME
    
    For 18 : A_START_TIME----[B_START_TIME========B_STOP_TIME]-------A_STOP_TIME
    

提交回复
热议问题