Skip to content

Commit 2785632

Browse files
committed
feat: adapt y1 E-plane position
1 parent c04d0c9 commit 2785632

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/plot_hdf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ def plot_fullwave( fname_in, fname_plot='',
489489
slice_y1 = 1
490490
slice_z1 = ant_z
491491
else:
492-
slice_x1 = ant_x - d_absorb_scaled
493-
slice_y1 = 0#Ny - d_absorb_scaled
492+
slice_x1 = 0#ant_x - d_absorb_scaled
493+
slice_y1 = 1#Ny - d_absorb_scaled
494494
slice_z1 = ant_z - d_absorb_scaled
495495
if 'x1' in oplot_Efieldcut:
496496
slice_Eabs = mlab.volume_slice( E_abs,
@@ -693,7 +693,7 @@ def main():
693693
N_contLevels=contLevels, colScale=colScale,
694694
plotReductionLevel=plotReductionLevel,
695695
#oplot_Efieldcut='x1z1',
696-
oplot_Efieldcut='y1',
696+
oplot_Efieldcut='x1',
697697
oplot_B0=True,
698698
fname_plot=fname_plot
699699
)

0 commit comments

Comments
 (0)