Get rid of “Figure 1” in the title of the figure

≯℡__Kan透↙ 提交于 2019-12-03 10:35:23

Showing the number in the title is one of the properties of the figure. By default it is set to on, unless you are using GUIDE.

Anyway, in order to remove it, use

set(gcf,'NumberTitle','off');

A better way would be to use the handle that you got from a call to the figure function:

hFig = figure('Name','window 1','Visible','Off');
set(hFig,'NumberTitle','off');

Also, (as @GuntherStruyf also mentioned), it is possible to do it in the call to the figure function itself:

hFig = figure('Name','window 1','Visible','Off','NumberTitle','off');
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!