import pandas as pd
import matplotlib.pyplot as plt

df = pd.read_feather('outputs/EB93_heading.feather')

#print(list(df.columns))

fig, ax = plt.subplots(3,1, figsize=[10,5], constrained_layout=True)

xmin = 161200
xmax = 161300

df.plot('Time', 'heading', ax=ax[0])
ax[0].set_xlabel('Heading')
ax[0].set_ylabel('Deg')
ax[0].set_xlim([xmin, xmax])
ax[0].set_title('EB93______202412232045')

df.plot('Time', 'Vnorthing', ax=ax[1])
ax[1].set_xlabel('Secondary Northing')
ax[1].set_ylabel('m')
ax[1].set_xlim([xmin, xmax])

df.plot('Time', 'Veasting', ax=ax[2])
ax[2].set_xlabel('Secondary Easting')
ax[2].set_ylabel('m')
ax[2].set_xlim([xmin, xmax])

#plt.show()
plt.savefig('results/CSNMR-3618_EB93______202412232045.png')
