Problem with dimensions setting of textbox (annotations)
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(2 个)
Walter Roberson
2017-9-19
Consider using text() instead of annotation(). text() allows you to specify horizontal and vertical alignment
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!