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 Commenti

Image Analyst
Image Analyst il 26 Dic 2011
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 il 27 Dic 2011
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 il 27 Dic 2011
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 il 27 Dic 2011
@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.

Accedi per commentare.

 Risposta accettata

Walter Roberson
Walter Roberson il 26 Dic 2011

2 voti

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

Più risposte (0)

Categorie

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by