Skip to content
Snippets Groups Projects

Update master

Merged Boman Romain requested to merge mergeAdrien into master
5 files
+ 86
62
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 11
8
@@ -4,6 +4,7 @@
import math
import numpy as np
import matplotlib.pyplot as plt
from fwk.wutils import parseargs
SIZE=200
@@ -25,11 +26,13 @@ for qTime in xrange(maxTime):
#print(ez[50])
result[qTime] = ez[50]
plt.plot(result)
plt.title('Example p42')
plt.xlabel('time step')
plt.ylabel('Ez[50]')
plt.ylim(-1,1)
plt.grid(True)
plt.show()
#
args = parseargs()
if not args.nogui:
plt.plot(result)
plt.title('Example p42')
plt.xlabel('time step')
plt.ylabel('Ez[50]')
plt.ylim(-1,1)
plt.grid(True)
plt.show()
Loading