필터 지우기
필터 지우기

How to make the surface plot transparent??

조회 수: 265 (최근 30일)
simar
simar 2012년 3월 1일
댓글: Swathi Chandrasekar 2017년 7월 11일
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
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
Friedrich 2012년 3월 1일
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일
Look at the alphadata property in:
web([docroot '/techdoc/ref/surface_props.html'])

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by