Added 'Python/matplotlib_hw.py'
This commit is contained in:
parent
ea2c4386a2
commit
ea8b1dd025
9
Python/matplotlib_hw.py
Normal file
9
Python/matplotlib_hw.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import numpy as np
|
||||||
|
import matplotlib
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
x_values = np.linspace(-10, 10)
|
||||||
|
y_values = x_values**2
|
||||||
|
|
||||||
|
plt.plot(x_values, y_values)
|
||||||
|
plt.show()
|
Loading…
x
Reference in New Issue
Block a user