#%%
import matplotlib.pyplot as plt
import pandas as pd

df = pd.read_csv('comp2.csv', sep=',',header=None)

plt.figure(0)
h1 = df[0].hist(bins=100, range=(-20,20), log=True)


plt.figure(1)
h1 = (df[3]-df[2]).hist(bins=100, range=(0, 1000), log=True)

plt.figure(2)
h2 = (df[1]-df[0]).hist(bins=100, range=(-1,1), log=True)

plt.show()


#%%