clear all;
close all;
%contour,contourf,imagesc
x=[1:1:100];
y=[1:1:100];
z=reshape(x,[100,1]);
energe=z*y;
figure;
pcolor(x,y,energe);
shading interp;
colorbar;
colormap(hsv);
%colormap(gray);
%colormap(flipud(gray));
figure(2);
contour(x,y,energe,'ShowText','on');
colorbar;
colormap(hsv);
figure(3);
fcontour(@(x,y) sin(x)+cos(y))
hold on
fcontour(@(x,y) x-y)
hold off
https://yunlong.blog.csdn.net/article/details/105292171
https://blog.csdn.net/weixin_41107577/article/details/88887828
https://zhuanlan.zhihu.com/p/359626420
https://ww2.mathworks.cn/help/matlab/ref/contour.html