⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example_isosurface.m

📁 基础程序
💻 M
字号:
% example_isosurface.m
% 绘制等值面示例
% 生成绘制图形数据
[x,y,z,v]=flow(13);
% 通过isosurface函数寻找等值面
fv=isosurface(x,y,z,v,-2);
% figure1:patch, v=3;
subplot(1,2,1);
p=patch(fv);
set(p,'facecolor',[.5 .5 .5],'edgecolor','black');
view(-30,30);
axis equal tight;
grid on;
title('figure1: shrinkfaces surface, v=2');
% figure2:patch, v=3;
subplot(1,2,2);
p=patch(shrinkfaces(fv,.3));
set(p,'facecolor',[.5 .5 .5],'edgecolor','black');
view(-30,30);
axis equal tight;
grid on;
title('figure2: shrinkface surface, v=2');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -