How to make the surface plot transparent??

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

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
Friedrich 2012년 3월 1일

6 개 추천

Hi,
use the alpha property:
hold on
surf(peaks(30))
alpha 0.5
plot3(10,10,10,'r*')
hold off

추가 답변 (1개)

Sean de Wolski
Sean de Wolski 2012년 3월 1일

0 개 추천

Look at the alphadata property in:
web([docroot '/techdoc/ref/surface_props.html'])

카테고리

질문:

2012년 3월 1일

댓글:

2017년 7월 11일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by