Commit 112ddcc2 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

increase marker size for U/I/P plots

parent 0ee2ff56
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -396,22 +396,22 @@ def plot_data(data, mode):
        plt.ylabel("Power [W]")

    elif mode == "UI":
        plt.plot(data[:, 1], data[:, 2], "bs", markersize=1)
        plt.plot(data[:, 1], data[:, 2], "bs", markersize=2)
        plt.xlabel("Voltage [V]")
        plt.ylabel("Current [A]")

    elif mode == "UP":
        plt.plot(data[:, 1], data[:, 1] * data[:, 2], "bs", markersize=1)
        plt.plot(data[:, 1], data[:, 1] * data[:, 2], "bs", markersize=2)
        plt.xlabel("Voltage [V]")
        plt.ylabel("Power [W]")

    elif mode == "IU":
        plt.plot(data[:, 2], data[:, 1], "bs", markersize=1)
        plt.plot(data[:, 2], data[:, 1], "bs", markersize=2)
        plt.xlabel("Current [A]")
        plt.ylabel("Voltage [V]")

    elif mode == "IP":
        plt.plot(data[:, 2], data[:, 1] * data[:, 2], "bs", markersize=1)
        plt.plot(data[:, 2], data[:, 1] * data[:, 2], "bs", markersize=2)
        plt.xlabel("Current [A]")
        plt.ylabel("Power [W]")