Fellow coders. I am fairly new to Matplotlib.
I would like to plot the 4 headings in one graph. All 4 heading observations are timestamped and the # = 3600. See image below:
.
As of yet I only manage to plot one graph and this takes about one minute to load.
The x-axis is log time in seconds, what I would like to display is a change in the annotation to ten minutes or 600 sec so that the displayed time is not a black block. The y-axis is heading in degrees.
# data entry
x = df["time"]
pg1 = df["Seapath_Heading"]
#sg1 = df["Protrack"]
#sg2 = df["NMEAGyro3"]
#sg3 = df["HiPAPGyro400NMEA"]
plt.plot(x, pg1)
#plt.plot(x, sg1)
#plt.plot(x, sg2)
#plt.plot(x, sg3)
plt.xlabel("logtime(sec)")
plt.ylabel("Heading(ddd.dd)")
plt.title("Gyro linechart overview")
plt.show()