Put text in a figure that is not a graph/plot
11 次查看(过去 30 天)
显示 更早的评论
Hi,
How can I write a text in a graphic object (no plot) ?
I tried with
uicontrol('Style', 'text',...
but the text is inside a white rectangle. How can I write it in figure without some kind of labels as background ?
thanks
0 个评论
回答(1 个)
Matt Fig
2012-10-12
Your description is vague.
U = uicontrol('style','edit',...
'units','norm',...
'pos',[0 0 1 1],...
'string','type here',...
'min',0,'max',10);
uicontrol(U)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!