figure(2)make a figure current and make it ready for operation
[x, y, button] = ginput(2);
plot(x, y, 'r*');
figure(5) %'h=figure(5)': h=5
set(0, 'CurrentFigure', 5); % make figure current
Change the name (title) of the figure
h = figure('Name','my window','NumberTitle','off'); %h=1,2 ..N
set(0, 'CurrentFigure', h);
No comments:
Post a Comment