diff --git a/Examples/python/simulation/ex06_Reflectometry/FootprintCorrection.py b/Examples/python/simulation/ex06_Reflectometry/FootprintCorrection.py index 8cf816685870090a3dbb912edfd11025a81e90c0..09feec5f35774390b479f9b2ae5515d77c16f711 100644 --- a/Examples/python/simulation/ex06_Reflectometry/FootprintCorrection.py +++ b/Examples/python/simulation/ex06_Reflectometry/FootprintCorrection.py @@ -66,8 +66,10 @@ def plot(sim_result_1, sim_result_2): Plots results from two different simulations """ - plt.semilogy(*get_plot_data(sim_result_1), *get_plot_data(sim_result_2)) - + x1, y1 = get_plot_data(sim_result_1) + x2, y2 = get_plot_data(sim_result_2) + plt.semilogy(x1, y1, x2, y2) + plt.xlabel(r'$\alpha_i \; (deg)$', fontsize=16) plt.ylabel(r'Intensity', fontsize=16)