Marker transparency

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 个评论

I think they are normally already opaque - as in solid, you can't see through them. Why do you think they're transparent?
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.
Does this interfer with the fact, that markers are opaque? Do you want to draw a small sphere instead?
@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