Changing attributes of text box manually added using plot editor

2 views (last 30 days)
Christopher on 8 Jan 2013
After plotting a data set and adding text box annotations using the plot editor, I would like to run a script to set some of the attributes in all of the text boxes I have added manually.
I have been trying to use the find object command, but it is not working.
Tbox = findobj(gcf, 'type', 'textbox')
set(Tbox, 'Margin', 200)
Any suggestions would be much appreciated!
Thank you,

Answers (0)

Community Treasure Hunt

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

Start Hunting!