我有一个包含两个轴的matlab gui。我想只改变我在一个轴上绘制的平面的alpha值。由于某种原因,命令alpha(0.5)总是默认为我的第一个轴。有人可以帮帮我吗?
这是我的代码:
point1 = [2000,0,-1000]
point2 = [-2000,0,-1000]
point3 = [-2000,0,1000]
point4 = [2000,0,1000]
points = [point1' point2' point3' point4']
fill3(points(1,:),points(2,:),points(3,:),[1,0.4,0.5],'Parent',handles.axes2)
alpha(0.3,handles.axes2)//notworking
谢谢!