MATLAB Answers

changing interactionplot font size

15 views (last 30 days)
gelsa
gelsa on 19 Apr 2021 at 13:46
Commented: gelsa on 19 Apr 2021 at 14:43
Is there a way of changing the the font size and text position for the interactionsplot?
I would like to decrease the text size of the four labels and constrain the text so they fit inside the boxes.
Appreciate any suggestions, thanks.

Accepted Answer

Adam Danz
Adam Danz on 19 Apr 2021 at 14:31
Assuming no other text objects exist in the figure,
figHandle = interactionplot(___)
txtHandles = findobj(figHandle,'type','text');
set(txtHandles,'FontSize', 10)
  1 Comment
gelsa
gelsa on 19 Apr 2021 at 14:43
Thanks Adam, that works.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!