indexing - Matlab - Change indexed window title -


i'm having trouble changing windowtitle on specific indexed windows (which not created in code). have 3 windows standard names: figure 1, figure 2 , figure 3 indexed figureid 1,2,3. want able change windowtitle of specific figureid can't work.

i've tried use gcf works great, if tell change figureid 1 changes latest figureinput, figureid 3.

figureid = input('figure-id: ');  if ishandle(figureid)  newtitle=input('new windowtitle: ','s'); h(figureid) = plot_handles(figureid); set(h(figureid), 'name', newtitle) %set(gcf, 'name', newtitle)% <-- changes last figureid input   else disp('invalid figure-id!')  end 


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -