Is there some way to fit the figure size to the textbox? Example:
I have a = annotation(… 'textbox','Position',[0.1482 0.7333 0.17 0.16],… 'FitHeightToText','on',… 'String','Example');
which makes a textbox in a figure. I would like to fit the size of the figure to this textbox. Is it possible? Thanks.
Best Answer