How to make the surface plot transparent??
265 次查看(过去 30 天)
显示 更早的评论
I want to plot some data points over surface paraboloid. To increase visibility I want to increase transparency of surface plot. How to do that.
1 个评论
Swathi Chandrasekar
2017-7-11
Check out the set command in matlab.There is a property called alpha.After the surf command just say alpha(0.5).The value lies between 0 and 1.The closer to zero the more transparent it is.
采纳的回答
Friedrich
2012-3-1
Hi,
use the alpha property:
hold on
surf(peaks(30))
alpha 0.5
plot3(10,10,10,'r*')
hold off
0 个评论
更多回答(1 个)
Sean de Wolski
2012-3-1
Look at the alphadata property in:
web([docroot '/techdoc/ref/surface_props.html'])
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!