【发布时间】:2014-03-02 02:48:32
【问题描述】:
我有下一个脚本,
R = 0:0.1:1;
z = cos(-R);
zz = sin(-R);
th = 0:pi/20:2*pi;
X = bsxfun(@times,R',cos(th));
Y = bsxfun(@times,R',sin(th));
Z = repmat(z',1,length(th));
ZZ = repmat(zz',1,length(th));
surf(X,Y,Z)
surf(X,Y,ZZ)
box
hold on
surf(X*0 + 1,Y,Z)
surf(X*0 - 1,Y,ZZ)
我想要z 和zz 函数的绘图结果,具有不同的透明度。
代码仅使用z 函数工作,但我无法使其与z 一起工作zz; z 和 zz 不能有冲浪情节。任何帮助都非常受欢迎。
【问题讨论】:
标签: matlab plot matlab-figure projection