How to plot trajectory like this?
古いコメントを表示


hello all! I want to plot a trajectory with custom marker such as ships, but i don't know how to plot this.
I would appreciate if you can give me some advices!
4 件のコメント
What would be perfect for your situation is to have instead of (for example) a dash-dotted line a dash-dash-dash-ship line, i.e. custom line-type or marker-type.
This link is very old (2012), so things might have changed: https://www.mathworks.com/matlabcentral/answers/32985-can-i-make-a-scatterplot-with-custom-marker-symbols
Conclusion was: it is NOT possible to specify custom markers. But there might be (very tedious) workarounds.
Walter Roberson
2017 年 9 月 20 日
There are still no custom markers.
Eric23333
2017 年 9 月 20 日
Jan
2017 年 9 月 20 日
@Eric: It is more efficient, if you post all required details, than if we guess them. Do you have the image of the ship available already? Do you need the red squares and blue dots or not?
FEX: Flappybird contains some code to animate sprites using surface objects, such that rotating is easy.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 二维图和三维图 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!