t=plotannotation(str,[position])
str : | string or cell with separated strings | |
position : | Vtop, Vmiddle, Vdown, Hright, Hmiddle, Hleft, left, right, center |
t : | handle to annotation box |
subplot(2,2,3);
t=plotannotation({'RED = ccw','GREEN = cw','long long text row'},'linestyle','none');
subplot(2,2,2);
t=plotannotation('Line 1\n Line 2\n\nLine 3','linestyle','none');
t=plotannotation('Line 1\n Line 2\n\nLine 3','linestyle','none','Vdown','Hmiddle','left'); shg