If you want to put this text inside a legend, you can do:
legend('Some quick information','location','EastOutside')
This is the easiest. However, for more control, you can place the text box inside the picture window:
MyBox = uicontrol('style','text')
set(MyBox,'String','Here is a lot more information')
and move it with:
set(MyBox,'Position',[xpos,ypos,xsize,ysize])
source
share