Compare commits

...

2 commits

Author SHA1 Message Date
2dab53fce3 solved merge conflicts 2025-10-15 15:42:00 +02:00
388db992bb changes for live plot in kiruna 2025-10-15 15:37:30 +02:00

View file

@ -260,11 +260,13 @@ def main(input):
ax32.set_ylabel('Roll and Pitch in °', fontsize=12) ax32.set_ylabel('Roll and Pitch in °', fontsize=12)
ax4.set_ylabel('Temperatures in °C', fontsize=12) ax4.set_ylabel('Temperatures in °C', fontsize=12)
ax31.set_xlabel('Time in dd-hh:mm:ss', fontsize=12); ax4.set_xlabel('Time in dd-hh:mm:ss', fontsize=12) ax31.set_xlabel('Time in dd-hh:mm:ss', fontsize=12); ax4.set_xlabel('Time in dd-hh:mm:ss', fontsize=12)
ax1.tick_params(axis="x", labelrotation=25); ax21.tick_params(axis="x",labelrotation=25)
ax31.tick_params(axis="x", labelrotation=25); ax4.tick_params(axis="x", labelrotation=25)
ax1.grid(); ax21.grid(); ax31.grid(); ax4.grid() ax1.grid(); ax21.grid(); ax31.grid(); ax4.grid()
ax1.legend(bbox_to_anchor=(1,1), loc="upper left");ax32.legend(bbox_to_anchor=(1,1), loc="upper left");ax4.legend(bbox_to_anchor=(1,1), loc="upper left") ax1.legend(bbox_to_anchor=(1,1), loc="upper left");ax32.legend(bbox_to_anchor=(1,1), loc="upper left");ax4.legend(bbox_to_anchor=(1,1), loc="upper left")
if fp: if fp:
plt.suptitle(fp.split('/')[-1], fontsize=12) plt.suptitle(fp.split('/')[-1], fontsize=12)
plt.subplots_adjust(wspace=0.5) plt.subplots_adjust(wspace=0.5,hspace=0.33, top=0.95, bottom=0.13)
plt.show() plt.show()
for l in input: for l in input:
if i == -1: # skip the first interval because it may be incomplete if i == -1: # skip the first interval because it may be incomplete