Skip to content
Snippets Groups Projects
Commit 2faeb9d3 authored by Guillaume Demesy's avatar Guillaume Demesy
Browse files

convergence order 2 geo - postplot

parent 19753bd6
No related branches found
No related tags found
No related merge requests found
Pipeline #5242 passed
......@@ -48,7 +48,10 @@ if myDir[6:]=='solarcell':
elif myDir[6:]=='conv':
print('cf pdf')
pl.figure()
pl.plot(np.loadtxt(myDir+'/temp-Q_scat.txt',ndmin=2)[:,1])
data_abs = np.loadtxt(myDir+'/temp-Q_scat.txt',ndmin=2)[:,1]
pl.plot(data_abs[0:int(len(data_abs)/2)],label='linear elements')
pl.plot(data_abs[int(len(data_abs)/2):] ,label='curved elements')
pl.legend()
pl.savefig('fig_convergence_absorption.pdf')
else:
print('===> Computed from diffraction efficiencies')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment