How can i modify my capture?

1 vue (au cours des 30 derniers jours)
Philipp Mueller
Philipp Mueller le 2 Jan 2017
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

Réponse acceptée

Image Analyst
Image Analyst le 2 Jan 2017
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 commentaires
Philipp Mueller
Philipp Mueller le 3 Jan 2017
thank you
Philipp Mueller
Philipp Mueller le 3 Jan 2017
Modifié(e) : Philipp Mueller le 3 Jan 2017
What does it
x = [.50, .45];
y = [.79, .74];
exactly means? Are this coordinates?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by