Created
January 20, 2023 14:07
-
-
Save donkarlo/6ddd5840b9105b1270d693e8a88d273c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@staticmethod | |
def plotNew(gpsNormalTestTimeAbnValsList:list,lidarNormalTestTimeAbnValsList:list): | |
matplotlib.use("Qt5Agg") | |
plotColsNum = max (len(gpsNormalTestTimeAbnValsList),len(lidarNormalTestTimeAbnValsList)) | |
fig, axes = plt.subplots(plotColsNum, 2) | |
for plotRowCounter in range(plotColsNum): | |
axes[plotRowCounter][0].plot(gpsNormalTestTimeAbnValsList[plotRowCounter][1][:,0] | |
,gpsNormalTestTimeAbnValsList[plotRowCounter][1][:,1] | |
,label = gpsNormalTestTimeAbnValsList[plotRowCounter][2] | |
) | |
axes[plotRowCounter][1].plot(lidarNormalTestTimeAbnValsList[plotRowCounter][1][:,0] | |
,lidarNormalTestTimeAbnValsList[plotRowCounter][1][:,1] | |
, label=lidarNormalTestTimeAbnValsList[plotRowCounter][2] | |
) | |
plt.legend() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment