slice切片函数

clc;
clear all;
close all;

[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)));
sx = linspace(x1 + 1.3,x2,5);%五个垂直x面的切片;
sy = 0;
sz = 0;
slice(X,Y,Z,V,sx,sy,sz);
view([-33,36]);
shading interp;
colormap jet;

posted on 2014-11-18 12:59  Kermit.Li  阅读(313)  评论(0编辑  收藏  举报

导航