Если вы хотите, чтобы попытаться сделать что-то, похожее на изображение, которое вы связаны, вот некоторый код, чтобы помочь вам сделать это (Примечание: вы должны сначала загрузить представление arrow.m по Erik Johnson на MathWorks File Exchange, который Я всегда хотел использовать для создания стрелок любой формы и размера):
x = 1; % X coordinate of arrow start
y = 2; % Y coordinate of arrow start
theta = pi/4; % Angle of arrow, from x-axis
L = 2; % Length of arrow
xEnd = x+L*cos(theta); % X coordinate of arrow end
yEnd = y+L*sin(theta); % Y coordinate of arrow end
points = linspace(0, theta); % 100 points from 0 to theta
xCurve = x+(L/2).*cos(points); % X coordinates of curve
yCurve = y+(L/2).*sin(points); % Y coordinates of curve
plot(x+[-L L], [y y], '--k'); % Plot dashed line
hold on; % Add subsequent plots to the current axes
axis([x+[-L L] y+[-L L]]); % Set axis limits
axis equal; % Make tick increments of each axis equal
arrow([x y], [xEnd yEnd]); % Plot arrow
plot(xCurve, yCurve, '-k'); % Plot curve
plot(x, y, 'o', 'MarkerEdgeColor', 'k', 'MarkerFaceColor', 'w'); % Plot point
а вот что это будет выглядеть так:
Затем вы можете добавить текст в график (для угла и значений координат) с помощью функции text
.