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.
CodePudding user response:
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 handlef
;figure('Windowstyle', 'docked')
to create a figure with this setting.