You've already forked tiny-project
Add pause.cpp
This commit is contained in:
10
juan/reader.py
Normal file
10
juan/reader.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
f = open("data.txt", "r")
|
||||
a = 0
|
||||
while a == 0:
|
||||
f.readline
|
||||
x = np.linspace(10., 100., 50)
|
||||
y = x**10 + x**5 + x**2 + 100
|
||||
plt.plot(x, y)
|
||||
plt.show()
|
Reference in New Issue
Block a user