From f3775e7d01eaa24f0ab30a6891be06bff9efeece Mon Sep 17 00:00:00 2001 From: Fisch Date: Mon, 22 Jul 2024 14:30:18 +0200 Subject: [PATCH] minor changes --- logdata_visualization/analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logdata_visualization/analyze.py b/logdata_visualization/analyze.py index 04b3ac6..7f58f55 100644 --- a/logdata_visualization/analyze.py +++ b/logdata_visualization/analyze.py @@ -29,7 +29,7 @@ ax2 = ax1.twinx() #plt.scatter(x,df['rpm_FrontL'], s=scattersize, alpha=scatteralpha, label="rpm_FrontL") ax1.plot(x,np.array(df['vbat_Front']), c='b', alpha=0.5, label="vbat_Front") ax1.plot(x,np.array(df['vbat_Rear']), c='r', alpha=0.5, label="vbat_Rear") -ax2.plot(x,np.array(df['cmd_FrontL']), c='r', alpha=0.5, label="cmd_FrontL") +ax2.plot(x,np.array(df['rpm_FrontL']), c='g', alpha=0.5, label="rpm_FrontL") #plt.plot(x,np.array(df['currentConsumed']), c='g', alpha=0.5, label="currentConsumed") #plt.scatter(x,df['rpm_FrontR'], s=scattersize, alpha=scatteralpha, label="rpm_FrontR")