share in .gitignore

This commit is contained in:
Olli Graf
2024-01-05 05:53:55 +01:00
parent 0882dd06f3
commit 2a998611bf
4 changed files with 41 additions and 1 deletions

24
teil23/test.py Normal file
View File

@@ -0,0 +1,24 @@
# encoding: utf-8
import numpy as np
import matplotlib.pyplot as plt
# Koordinaten
x = np.arange(5, 10)
y = np.arange(12, 17)
print(f'x={x}')
print(f'y={y}')
# Plot
plt.plot(x,y)
# Titel hinzufügen
plt.title("Matplotlib PLot NumPy Array")
# Beschriftung für die Achsen
plt.xlabel("x Achse")
plt.ylabel("y Achse")
# Fenster anzeigen
plt.show()