mirror of
https://github.com/edoverg/modeconverter.git
synced 2026-10-14 23:06:39 +00:00
fixing plots
This commit is contained in:
+13
-13
@@ -328,9 +328,9 @@
|
||||
" False, \n",
|
||||
" ax=ax1,\n",
|
||||
" output_plane=output_plane,\n",
|
||||
" show_sources = True,\n",
|
||||
" show_monitors = True,\n",
|
||||
" show_boundary_layers = True,\n",
|
||||
" show_sources = False,\n",
|
||||
" show_monitors = False,\n",
|
||||
" show_boundary_layers = False,\n",
|
||||
" )\n",
|
||||
" circ1 = Circle((2,2), minimum_length/2)\n",
|
||||
" ax1.add_patch(circ1)\n",
|
||||
@@ -339,9 +339,9 @@
|
||||
" False, \n",
|
||||
" ax=ax2,\n",
|
||||
" output_plane=output_plane_xy,\n",
|
||||
" show_sources = True,\n",
|
||||
" show_monitors = True,\n",
|
||||
" show_boundary_layers = True,\n",
|
||||
" show_sources = False,\n",
|
||||
" show_monitors = False,\n",
|
||||
" show_boundary_layers = False,\n",
|
||||
" )\n",
|
||||
" circ2 = Circle((2,2), minimum_length/2)\n",
|
||||
" ax2.add_patch(circ2)\n",
|
||||
@@ -414,9 +414,9 @@
|
||||
" False, \n",
|
||||
" ax=ax1,\n",
|
||||
" output_plane=output_plane,\n",
|
||||
" show_sources = True,\n",
|
||||
" show_monitors = True,\n",
|
||||
" show_boundary_layers = True,\n",
|
||||
" show_sources = False,\n",
|
||||
" show_monitors = False,\n",
|
||||
" show_boundary_layers = False,\n",
|
||||
")\n",
|
||||
"\n",
|
||||
"circ1 = Circle((2,2), minimum_length/2)\n",
|
||||
@@ -427,15 +427,15 @@
|
||||
" False, \n",
|
||||
" ax=ax2,\n",
|
||||
" output_plane=output_plane_xy,\n",
|
||||
" show_sources = True,\n",
|
||||
" show_monitors = True,\n",
|
||||
" show_boundary_layers = True,\n",
|
||||
" show_sources = False,\n",
|
||||
" show_monitors = False,\n",
|
||||
" show_boundary_layers = False,\n",
|
||||
")\n",
|
||||
"circ2 = Circle((2,2), minimum_length/2)\n",
|
||||
"ax2.add_patch(circ2)\n",
|
||||
"ax2.axis(\"off\")\n",
|
||||
" \n",
|
||||
"plt.savefig(\"results/final_design.pdf\")\n"
|
||||
"plt.savefig(\"results/final_design_xy.pdf\")\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user