필터 지우기
필터 지우기

Is there any way to plot two plots in same figure and changing the transparency separately?

조회 수: 2 (최근 30일)
I want to plot 3 plots in matlab in the same figure. In the figure shown, orange dots have been made using scatter plot and other one( torus) using surface command. When I use alpha to set transparency, it causes issues. I want to set transparency for torus to 0.2 and for scatter plot to 0.6. Is there any way to achieve this?
workspace.png
  댓글 수: 1
Adam
Adam 2018년 12월 13일
Saying it 'causes issues' is no help to anyone trying to help you! Say what actually happens. do you get an error? Does it not apply the transparency correctly? Something else?

댓글을 달려면 로그인하십시오.

답변 (1개)

madhan ravi
madhan ravi 2018년 12월 13일
편집: madhan ravi 2018년 12월 13일
why not? create a handle for each plot command and set the transparency factor as mentioned Here

카테고리

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