plot multiple pandas dataframes in one graph

后端 未结 2 822
天涯浪人
天涯浪人 2020-12-15 09:30

I have created 6 different dataframes that eliminate the outliers of their own original data frames. Now, I\'m trying to plot all of the dataframes that eliminate the outlie

2条回答
  •  独厮守ぢ
    2020-12-15 09:59

    Am I missing something? Normally, I just do this for multiple dataframes:

    fig = plt.figure()
    
    for frame in [newdf, newdf2, newdf3, newdf4, newdf5]:
        plt.plot(frame['Time'], frame['Data'])
    
    plt.xlim(0,18000)
    plt.ylim(0,30)
    plt.show()
    

提交回复
热议问题