zip plot
This commit is contained in:
parent
2ae3293bfe
commit
307a27b9a2
8
python-temel/zip.unzip.4.py
Normal file
8
python-temel/zip.unzip.4.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
points = [(-2, 4), (-1, 1), (0, 0), (1, 1), (2, 4)]
|
||||||
|
|
||||||
|
x, y = zip(*points)
|
||||||
|
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
plt.plot(x, y)
|
||||||
|
plt.show()
|
Loading…
Reference in New Issue
Block a user