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!