MATLAB은 등전위선으로 제트 속도를 표현하고 다채로운 색상을 그립니다.

clear all;
clf;
[X,Y,Z,V]=flow;
x1=min(min(min(X)));
x2=max(max(max(X)));
y1=min(min(min(Y)));
y2=max(max(max(Y)));
z1=min(min(min(Z)));
z2=max(max(max(Z)));
s1=linspace(x1+1.2,x2,5);
s2=0;
s3=0;
slice(X,Y,Z,V,s1,s2,s3);
view([-30,38]);
shading interp;
colormap parula;
%以下指令为设置图形的透明度
alpha('color');
alphamap('rampdown');
alphamap('increase',0.14);
colorbar;
axis off
%以下指令用等位线表现射流速度
clf;
v1=min(min(min(V)));
v2=max(max(max(V)));
c1=linspace(v1,v2,15);
contourslice(X,Y,Z,V,s1,s2,s3,c1);
view([-15,30])
colormap parula;
colorbar;box on

여기에 이미지 설명 삽입

colormap turbo

여기에 이미지 설명 삽입

colormap jet

여기에 이미지 설명 삽입

colormap hsv

여기에 이미지 설명 삽입

colormap hot

여기에 이미지 설명 삽입

colormap cool

여기에 이미지 설명 삽입

colormap spring

여기에 이미지 설명 삽입

colormap summer

여기에 이미지 설명 삽입

colormap autumn

여기에 이미지 설명 삽입

colormap winter

여기에 이미지 설명 삽입

colormap gray

여기에 이미지 설명 삽입

colormap bone

여기에 이미지 설명 삽입

colormap copper

여기에 이미지 설명 삽입

colormap pink

여기에 이미지 설명 삽입

colormap lines

여기에 이미지 설명 삽입

colormap colorcube

여기에 이미지 설명 삽입

colormap prism

여기에 이미지 설명 삽입

colormap flag

여기에 이미지 설명 삽입

colormap default

여기에 이미지 설명 삽입
개발 도구: MATLAB 2022b
WeChat Alt+A 스크린샷 도구

추천

출처blog.csdn.net/m0_38127487/article/details/131887134