Plotting three variable (trajectory with angle) in a single plot as function of one another with help of line

3 ビュー (過去 30 日間)
Hello, I am having a plot of turning circle made by a ship model. I have the displacement of ship's center of gravity in x and y direction as function of time and also the angle of ships heading as function of time. These are shown in figure below.
plot(x); plot(y); plot(psi);
I am able to plot trajectory of my CG of my model in x-y plane as shown in second figure.
plot(x,y)
I want to add information of the angle that ship is making while taking turn with help of small pointed arrows representing the heading. How can I do it? I have made a demo figure of what I want.

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by