您当前的位置: 首页 >  matlab

phymat.nico

暂无认证

  • 2浏览

    0关注

    1967博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

MATLAB图形绘制--等高线图

phymat.nico 发布时间:2021-07-17 00:45:37 ,浏览量:2


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

https://ww2.mathworks.cn/help/matlab/ref/fcontour.html

https://ww2.mathworks.cn/help/matlab/ref/rgbplot.html

关注
打赏
1659628745
查看更多评论
立即登录/注册

微信扫码登录

0.1113s