How can i modify my capture?

1 次查看(过去 30 天)
Hi,
I want to capture my curve. It works so far but i want that my arrow has a 45 degree angle like in the screenshot below. Thank you.
x1=[0 50 75 100]
y1=[100 75 50 25]
[xb,yb] = stairs(x1,y1);
axis([0 200 0 200])
xlim([0 150])
plot(yb,xb)
text(50,75,'\leftarrow Formular XY')
datacursormode on

采纳的回答

Image Analyst
Image Analyst 2017-1-2
Try using annotation():
x1=[0 50 75 100]
y1=[100 75 50 25]
[xb,yb] = stairs(x1,y1);
axis([0 200 0 200])
xlim([0 150])
plot(yb,xb)
x = [.50, .45];
y = [.79, .74];
annotation('textarrow',x,y,'String','Formular XY')
  2 个评论
Philipp Mueller
Philipp Mueller 2017-1-3
编辑:Philipp Mueller 2017-1-3
What does it
x = [.50, .45];
y = [.79, .74];
exactly means? Are this coordinates?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by