summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-12-08 22:09:36 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-12-08 22:09:36 +0100
commit9834ae207fe65731dbbf7d30fcb0622bf29cd4ef (patch)
tree86d50fbdffa3a55d4552bdf308c7033af240ab01
parent595f12a6cfeb44a9b89048e2add82e90983d545e (diff)
plot-x=P: out_trace is already inverted
-rwxr-xr-xbin/dlog-viewer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dlog-viewer b/bin/dlog-viewer
index 3944e44..82cf27b 100755
--- a/bin/dlog-viewer
+++ b/bin/dlog-viewer
@@ -405,7 +405,7 @@ def show_efficiency_plot(dlog, plot_x, changepoints=None):
xaxis = dlog.slots[out_slot]["A"].data * -1
xlabel = "Output Current [A]"
elif plot_x == "P":
- xaxis = out_trace * -1
+ xaxis = out_trace
xlabel = "Output Power [W]"
(handle,) = plt.plot(