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 Comments

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.
Jan
Jan on 27 Dec 2011
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.

Sign in to comment.

 Accepted Answer

Walter Roberson
Walter Roberson on 26 Dec 2011

2 votes

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

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!