How to access 'TextBox' in viewArray figure
9 次查看(过去 30 天)
显示 更早的评论
After viewArray plot the array structure, I would like to move the position of the 'TestBox' in the figure, but I do not know how to access the Position of the 'TextBox'. Please see attached example, I like to move the 'TextBox' at right-low corner to other position in the figure
0 个评论
采纳的回答
Honglei Chen
2017-12-21
Once you run viewArray, you can do
findall(gcf,'Type','TextBox')
It should return the all text boxes in the figure and you can find the one corresponding to the annotation. Then simply set the Position property of that handle and you can move the box.
HTH
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Array Geometries and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!