From f76c83b832c420c9cd0ef0a61c7810dfd7797ce9 Mon Sep 17 00:00:00 2001 From: Phil <2121464@stud.hs-mannheim.de> Date: Tue, 10 Jan 2023 14:26:11 +0100 Subject: [PATCH] Dann mach ich halt alles alleine wie immer --- python.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 python.py diff --git a/python.py b/python.py new file mode 100644 index 0000000..7403fdb --- /dev/null +++ b/python.py @@ -0,0 +1,23 @@ +import numpy as np +import matplotlib.pyplot as plt +import seaborn as sns + +x = np.linspace(0, 10, 50) +y1 = np.power(x,2) +y2 = np.power(x,3) +plt.plot (x,y1) +plt.plot (x,y2) + +plt.xlim((1,5)) +plt.ylim((0,30)) +plt.tight_layout() +plt.xlabel('x') +plt.ylabel('y') + +plt.title('ChatGpt seine Lernkurve') + +plt.legend() + + + +plt.show() \ No newline at end of file