better axis label
This commit is contained in:
parent
6e3cc1c3bd
commit
b0aa45366b
@ -193,7 +193,7 @@ def test1(solver=generic_solver):
|
|||||||
pyplot.subplot(2, 2, 2)
|
pyplot.subplot(2, 2, 2)
|
||||||
pyplot.plot(numpy.log10(numpy.abs(E[1][:, center[1], center[2]]) + 1e-10))
|
pyplot.plot(numpy.log10(numpy.abs(E[1][:, center[1], center[2]]) + 1e-10))
|
||||||
pyplot.grid(alpha=0.6)
|
pyplot.grid(alpha=0.6)
|
||||||
pyplot.ylabel('log10 of field')
|
pyplot.ylabel('log10 of Ey @ centerline')
|
||||||
pyplot.subplot(2, 2, 3)
|
pyplot.subplot(2, 2, 3)
|
||||||
pcolor(numpy.real(E[1][:, :, center[2]]).T)
|
pcolor(numpy.real(E[1][:, :, center[2]]).T)
|
||||||
pyplot.subplot(2, 2, 4)
|
pyplot.subplot(2, 2, 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user