help with astrological image
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I am seeking some help matching up my image (attached below) to the one seen here....I need help making each line of the respective stars be the same colors uniform, like below—not different for each line segment...also need help getting the legend to match.
Thank you
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162824/image.png)
2 个评论
Star Strider
2017-4-10
You seem to be plotting each segment with a different plot call. One way to plot each constellation is to combine the x-coordinates of the constellation in one vector, the corresponding y-coordinates in another vector, and plot them against each other. (You may have to ‘retrace your steps’ in some segments.) They would then all have the same colors.
An alternative is to specify the colors in each plot call for a specific constellation. This might be the easiest way to modify your current code.
I’m not listing this as an Answer because I’m guessing what you’re doing.
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!