Matlab add text to the outside of figure
figure, matlab, text
Solution
If you want to put that text inside of a legend you can do:
legend('Some quick information','location','EastOutside')
That is easiest. For more control though, you can put a text box inside the figure window:
MyBox = uicontrol('style','text')
set(MyBox,'String','Here is a lot more information')
and move it around with:
set(MyBox,'Position',[xpos,ypos,xsize,ysize])
Problem
How do I add a text to the right of the figure? I want to resize the plot to leave some empty space on the right and add some information there. Thanks!!