plot 9
This commit is contained in:
parent
02de0da2af
commit
f95c13900e
@ -4,7 +4,7 @@ import numpy as np
|
|||||||
def readFile(file):
|
def readFile(file):
|
||||||
with open(file, 'r') as inFile:
|
with open(file, 'r') as inFile:
|
||||||
countL = 0
|
countL = 0
|
||||||
for line in open(thefilepath).xreadlines( ): countL += 1
|
for line in open(file).xreadlines( ): countL += 1
|
||||||
y2 = np.genfromtxt(file)
|
y2 = np.genfromtxt(file)
|
||||||
return countL, y2
|
return countL, y2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user