Fix for Prak6
This commit is contained in:
4
6.py
4
6.py
@@ -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__':
|
||||
|
||||
1362
prak6/voltage.svg
1362
prak6/voltage.svg
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 44 KiB |
1113
prak6/weight.svg
1113
prak6/weight.svg
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 34 KiB |
Reference in New Issue
Block a user