Moritz lutz einfach der nacken

main
Philipp Benning 2023-01-10 14:31:26 +01:00
parent f76c83b832
commit f633d731b4
1 changed files with 5 additions and 13 deletions

View File

@ -2,22 +2,14 @@ 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()
a = np.random.random((100,100))
plt.imshow(a)
plt.hot()
plt.colorbar()
plt.show()