You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simulacion-permeabilidad/utilities/plot_lc.py

24 lines
373 B
Python

import numpy as np
import matplotlib.pyplot as plt
rdir='./lc_vslcbin/'
nps=41
ps=np.linspace(.1,.5,nps)
clabels=['Intermediate','high','low']
for con in range(1):
keff=np.zeros(nps)
for ip in range(nps):
folder=con*nps+ip
keff[ip]=np.loadtxt(rdir+str(folder)+'/lc.txt')[2]
plt.plot(ps,keff,label=clabels[con])
plt.legend()
plt.grid()
plt.savefig('lc2.png')