From c38b8dd9b8d1bc3935f7e07145d2e00673a818ee Mon Sep 17 00:00:00 2001 From: Jerome Lesaint Date: Wed, 6 Sep 2023 10:21:37 +0200 Subject: [PATCH] Fix plot --- .../example_10_synthetic_phantom_dead-zone_MLEM_vs_SIRT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example_10_synthetic_phantom_dead-zone_MLEM_vs_SIRT.py b/examples/example_10_synthetic_phantom_dead-zone_MLEM_vs_SIRT.py index fce7e90..44247b7 100644 --- a/examples/example_10_synthetic_phantom_dead-zone_MLEM_vs_SIRT.py +++ b/examples/example_10_synthetic_phantom_dead-zone_MLEM_vs_SIRT.py @@ -95,11 +95,11 @@ def cm2inch(x: ArrayLike) -> Tuple[float, float]: ax_sino_clean.set_title("Clean sinogram") ax_sino_noise = f.add_subplot(gs[5, 0]) -im_sino_noise = ax_sino_noise.imshow(sino_substract) +im_sino_noise = ax_sino_noise.imshow(sino) ax_sino_noise.set_title("Noisy sinogram") ax_sino_lines = f.add_subplot(gs[6:, 0]) -im_sino_lines = ax_sino_lines.plot(sino_substract[9, :], label="Noisy") +im_sino_lines = ax_sino_lines.plot(sino[9, :], label="Noisy") im_sino_lines = ax_sino_lines.plot(sino_clean[9, :], label="Clean") ax_sino_lines.set_title("Sinograms - angle: 10") ax_sino_lines.legend()