z.B._pr3_skriptspr_team12_s2/python.py

23 lines
322 B
Python
Raw Normal View History

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()