Matlab绘制三维图像
h=figure;
% 创建 surf
surf(PHDeformed_1Unwrap);
shading interp;lightangle(45,75);
% 创建 zlabel
zlabel('Z(phase/rad)','FontWeight','bold','FontName','Times New Roman');
% 创建 ylabel
ylabel('Y(pixel)','FontWeight','bold','FontName','Times New Roman');
% 创建 xlabel
xlabel('X(pixel)','FontWeight','bold','FontName','Times New Roman');
colorbar;
my_handle=colorbar;
my_handle.Title.String = 'phase/rad';
my_handle.Title.FontName= 'Times New Roman';
my_handle.FontSize=15;
exportgraphics(h,'result_pic/PHDeformed_1Unwrap.png','Resolution',600);
结果如下