summaryrefslogtreecommitdiff
path: root/demo_diffraction_on_a_disk.m
diff options
context:
space:
mode:
Diffstat (limited to 'demo_diffraction_on_a_disk.m')
-rw-r--r--demo_diffraction_on_a_disk.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo_diffraction_on_a_disk.m b/demo_diffraction_on_a_disk.m
index a066da6..3eb511c 100644
--- a/demo_diffraction_on_a_disk.m
+++ b/demo_diffraction_on_a_disk.m
@@ -64,4 +64,4 @@ imwrite(img_t/max(img_t(:)),'diffracted_image.png')
show_diffraction(img_source, xpos_s, ypos_s, img_t, xpos_t, ypos_t);
% radial slice of the target image
-figure(3); plot( xpos_t, abs( img_t(1,:) ) )
+figure(3); plot( xpos_t, abs( img_t(Ny_t/2,:) ) )