Reputation: 23
I know it is possible to dock a plot inside the matlab editor instead of constantly getting a pop-up window when plotting a function. However, I am struggling with finding the correct command.
Upvotes: 2
Views: 1080
Reputation: 112749
To have the figure docked in the command window, you can use any of these:
set(gcf, 'Windowstyle', 'docked')
to apply the setting to the current figure;
set(f, 'Windowstyle', 'docked')
to apply it to a figure with handle f
;
figure('Windowstyle', 'docked')
to create a figure with this setting.
Upvotes: 2