MATLAB改变图形的透明度(Transparency)
1、第一,启动MATLAB,新建脚本(Ctrl+N),输入如下代码:close all; clear all; 艘早祓胂clc[x,y,z,v]=flow;p=patch(isosurface(x,y,z,v,-3));isonormals(x,y,z,v,p);set(p,'facecolor','red','edgecolor','none');daspect([1,1,1])view(3);axis tight; grid on;

3、第三,添加camlight,lighting gourand,提高图形的清晰度和使图形更平滑。

5、第五,添加alpha(0.5),改变图形的透明度。

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:48
阅读量:49
阅读量:72
阅读量:75
阅读量:62