plot 14
This commit is contained in:
parent
d80de411bf
commit
45c382b3a3
@ -3,14 +3,16 @@ import numpy as np
|
||||
|
||||
def readFile(file):
|
||||
with open(file, 'r') as inFile:
|
||||
data = inFile.read()
|
||||
countL = 0
|
||||
for line in inFile:
|
||||
countL += 1
|
||||
y2 = np.loadtxt(file)
|
||||
y2 = [[0] for row in data]
|
||||
return countL, y2;
|
||||
|
||||
def createplotWER():
|
||||
|
||||
x = []
|
||||
y = []
|
||||
countL, y2 = readFile('werForPlot.txt')
|
||||
# Data for plotting
|
||||
x = np.arange(1, countL, 1)
|
||||
@ -28,7 +30,8 @@ def createplotWER():
|
||||
plt.show()
|
||||
|
||||
def createplotSRR():
|
||||
|
||||
x = []
|
||||
y = []
|
||||
countL, y2 = readFile('srrForPlot.txt')
|
||||
# Data for plotting
|
||||
x = np.arange(1, countL)
|
||||
|
Loading…
Reference in New Issue
Block a user