How to orient a text arrow
27 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alex
am 24 Jan. 2017
Kommentiert: Alex
am 24 Jan. 2017
Hello,
I am making a figure and added the x, y, z axes with labels for positve/negative x, y, and z using text(x,y,z,'leftarrow'). It looks good for the z-axis, but needs to be rotated for the xa and y axes. Is there a way to make an arrow that goes up and to the left (i.e. does something like 'leftuparrow' exist)?
0 Kommentare
Akzeptierte Antwort
John Chilleri
am 24 Jan. 2017
Bearbeitet: John Chilleri
am 24 Jan. 2017
Hello,
It'll look something like:
x = [.2 .6];
y = [.1 .5];
annotation('textarrow',x,y)
which draws a text arrow from the point (.2*x axis range, .1*y axis range) to (.6*x axis range, .5*y axis range).
Hope this helps!
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!