Skip to content
Snippets Groups Projects
Commit 2d4d8b2e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

-> simulate_and_plot ctd

parent 98b1e8ce
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ def run_simulation():
return simulation.result()
if __name__ == '__main__':
def simulate_and_plot():
result = run_simulation().histogram2d()
ba.plot_histogram(result, cmap='jet', aspect='auto')
......@@ -92,3 +92,7 @@ if __name__ == '__main__':
color='white',
markersize=10)
plt.show()
if __name__ == '__main__':
simulate_and_plot()
......@@ -77,7 +77,7 @@ def run_simulation():
return simulation.result()
if __name__ == '__main__':
def simulate_and_plot():
interactive = True
result = run_simulation().histogram2d()
ba.plot_histogram(result, cmap='jet', aspect='auto')
......@@ -93,3 +93,7 @@ if __name__ == '__main__':
color='white',
markersize=10)
plt.show()
if __name__ == '__main__':
simulate_and_plot()
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