- 积分
- 801
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-3-31
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2014-12-9 15:24:58
|
显示全部楼层
画图的部分,有点乱
XL=X1(1:20,:);
ZL=Z1(1:20,:);
U_VL=U_V(1:20,:);
figure(1)
load('mycolormap.mat')
colordef white
pcolor(XL,ZL,U_VL);
colormap(mycolormap)
shading interp
[cmax cmin]=caxis;
cmax
cmin
caxis([-3.5,3.5]);
colorbar('FontName','Arial','FontSize',20,'FontWeight','bold');
set(gca,'FontName','Arial','FontSize',20,'FontWeight','bold');
xlabel('x','FontName','Arial','FontSize',20,'FontWeight','bold');
ylabel('y (m)','FontName','Arial','FontSize',20,'FontWeight','bold');
set(gca,'color',[0 0 0],'TickDir','out');
hold on
XL1=X1(1:20,:);
ZL1=Z1(1:20,:);
flaga_S1=flaga_S(1:20,:);
pcolor(XL1,ZL1,flaga_S1); |
|