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 个评论

Tim Berk
Tim Berk 2017-9-20
编辑:Tim Berk 2017-9-20
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.
Conclusion was: it is NOT possible to specify custom markers. But there might be (very tedious) workarounds.
There are still no custom markers.
Thanks! i know there not exist the custom marker.Actually i want to get the trajectory exists ship. I saw some method can plot like this(another graph) by using some complex and tedious code.I would like to know if there exists some sample methods... Thanks!!
@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 中查找有关 二维图和三维图 的更多信息

提问:

2017-9-20

评论:

Jan
2017-9-20

Community Treasure Hunt

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

Start Hunting!