Fix for Prak6

This commit is contained in:
Hannes
2026-02-02 18:02:53 +01:00
parent 2ec5e271c3
commit b9c72e02d0
3 changed files with 2467 additions and 12 deletions

4
6.py
View File

@@ -26,8 +26,8 @@ def plot_weight():
plt.grid()
plt.xlabel('Gewicht [g]')
plt.ylabel('Gewicht [g]')
plt.show()
plt.savefig("prak6/weight.svg", format="svg", bbox_inches="tight")
plt.show()
plt.close()
def plot_voltage():
@@ -41,8 +41,8 @@ def plot_voltage():
plt.grid()
plt.xlabel('Gewicht [g]')
plt.ylabel('Spannung [V]')
plt.show()
plt.savefig("prak6/voltage.svg", format="svg", bbox_inches="tight")
plt.show()
plt.close()
if __name__ == '__main__':

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 34 KiB