Commit d203bbce authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Shows polarity in _plot_readings

Showing with 1 addition and 1 deletion
+1 -1
...@@ -290,7 +290,7 @@ class OhmPiHardware: ...@@ -290,7 +290,7 @@ class OhmPiHardware:
ax[0].set_ylabel('Iab [mA]') ax[0].set_ylabel('Iab [mA]')
ax[1].plot(self.readings[:, 0], self.readings[:, 2] * self.readings[:, 4], '-b', marker='.', label='vmn') ax[1].plot(self.readings[:, 0], self.readings[:, 2] * self.readings[:, 4], '-b', marker='.', label='vmn')
ax[1].set_ylabel('Vmn [mV]') ax[1].set_ylabel('Vmn [mV]')
ax[2].plot(self.readings[:, 0], self.readings[:, 1], '-g', marker='.', label='pulse') ax[2].plot(self.readings[:, 0], self.readings[:, 2], '-g', marker='.', label='polarity')
ax[2].set_ylabel('polarity [-]') ax[2].set_ylabel('polarity [-]')
fig.legend() fig.legend()
plt.show() plt.show()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment