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 ExchangeCubeSat and Satellites についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by