@@ -153,13 +153,15 @@ function spot_diagram(Data)
153
153
figure(' color' ,' k' )
154
154
plot(Data.X_1{end }(2 ,: ),Data.Y_1{end }(2 ,: ),' .' )
155
155
axis equal ; title(' Spot Diagram' )
156
+ xlabel(' x (mm)' ); ylabel(' y (mm)' )
156
157
pause(0.01 )
157
158
end
158
159
159
160
function transmission_plane(trans_plane_data )
160
161
figure(' color' ,' k' )
161
162
pcolor(trans_plane_data .x ,trans_plane_data .y ,trans_plane_data .OP - min(trans_plane_data .OP ,[],' all' ))
162
163
title(' Transmission Optical Path Difference' )
164
+ xlabel(' x (mm)' ); ylabel(' y (mm)' )
163
165
axis equal ; shading flat ; colorbar ; colormap(' jet' )
164
166
pause(0.01 )
165
167
end
@@ -169,6 +171,7 @@ function line_spread_function(LSF_data,diffra_limit)
169
171
plot(LSF_data .Monitor_y ,LSF_data .Power_normalize ,' linewidth' ,.5 ,' color' ,[0.93 ,0.69 ,0.13 ])
170
172
hold on
171
173
plot(diffra_limit .y ,diffra_limit .I ,' :' ,' linewidth' ,.5 ,' color' ,' w' )
174
+ xlabel(' x (mm)' ); ylabel(' Normalize Intensity' )
172
175
title(' Line Spread Function' ,[' Strehl Ratio = ' ,num2str(LSF_data .Strehl_ratio )])
173
176
grid on
174
177
ax = gca ; ax.GridColor = [0.32 0.32 0.32 ];
@@ -198,7 +201,7 @@ function point_spread_function(Switch,PSF_data,trans_plane_data,focal_plane_posi
198
201
figure(' color' ,' k' )
199
202
surf(PSF_data .Monitor2_x ,PSF_data .Monitor2_y ,PSF_data .Power_normalize_xy )
200
203
title(' Point Spread Function XY' ,[' Strehl Ratio = ' ,num2str(PSF_data .Strehl_ratio_xy )])
201
- colormap(' jet' ); shading interp ; xlabel(' x (mm)' ); ylabel(' y (mm)' ); colorbar
204
+ colormap(' jet' ); shading interp ; xlabel(' x (mm)' ); ylabel(' y (mm)' ); zlabel( ' Normalize Intensity ' ); colorbar
202
205
pause(0.01 )
203
206
end
204
207
end
0 commit comments