lab6: add supplementary files to improve functionality
This commit is contained in:
parent
d2535d233f
commit
355c75e49f
|
@ -0,0 +1,5 @@
|
|||
build:
|
||||
javac *.java
|
||||
|
||||
clean:
|
||||
rm *.class
|
|
@ -0,0 +1,15 @@
|
|||
import matplotlib.pyplot as plt
|
||||
|
||||
data = []
|
||||
|
||||
while True:
|
||||
try:
|
||||
data.append(list(map(float, input().split())))
|
||||
except:
|
||||
break
|
||||
|
||||
#print(list(zip(*data)))
|
||||
|
||||
for i in list(zip(*data)):
|
||||
plt.plot(i)
|
||||
plt.show()
|
Loading…
Reference in New Issue