%% Clear Figure and Reset Figure Properties
% Create a figure with a white background. Then, create a surface plot.

figure('Color','w')
peaks

%
% Clear the surface plot from the figure and reset all figure properties to their default values. clf reset resets all properties of the current figure, except for the Position, Units, PaperPosition, and PaperUnits properties.

clf reset

% Copyright 2020 The MathWorks, Inc.