I would like to know if there is possible to set the transparency of a line marker to opaque in order to improve my animation: satellite movement around the Earth.

댓글 수: 4

Image Analyst
Image Analyst 2011년 12월 26일
I think they are normally already opaque - as in solid, you can't see through them. Why do you think they're transparent?
Julián Francisco
Julián Francisco 2011년 12월 27일
If you run the animation code for the satellite movement around the Earth, you can see that the satellite red continuous trajectory (line from point k-1 to point k) is inside the circle represented by the position of the body of the satellite (point k) at each iteration step.
Jan
Jan 2011년 12월 27일
Does this interfer with the fact, that markers are opaque? Do you want to draw a small sphere instead?
Julián Francisco
Julián Francisco 2011년 12월 27일
@Jan Simon: If the overall trajectory is drawn first and then the satellite position (space point) is drawn, this latter appears to be opaque. However, if both are drawn simultaneously, then it happens what I mention in the previous comment. Finally, I have replaced the space point with a small sphere and it does work. Thank you for your comment.

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

 채택된 답변

Walter Roberson
Walter Roberson 2011년 12월 26일

2 개 추천

You can set the MarkerFaceColor property but you cannot set alpha properties for the markers.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 CubeSat and Satellites에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by