Problem with dimensions setting of textbox (annotations)
Ältere Kommentare anzeigen
I want to write X-Axis's values of some points in textbox. For that I made this attached code. But it is not placing the textbox at desire place. I am confused how to give dimension to textbox. In the fig, first peak's textbox is placed before 1st peak. Whereas, 2nd peak's textbox placed after 2nd peak. How dimension of textbox works?
Antworten (2)
Walter Roberson
am 19 Sep. 2017
0 Stimmen
Consider using text() instead of annotation(). text() allows you to specify horizontal and vertical alignment
2 Kommentare
Gopanraj Patel
am 19 Sep. 2017
Walter Roberson
am 19 Sep. 2017
Perhaps create a data tip?
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!