%% Close All Figures with Visible Handles
% Create three figures whose handles are visible, and include a line plot in each figure.

f1 = figure;
plot(1:10)
f2 = figure;
plot((1:10).^2)
f3 = figure;
plot(1./(1:10))

%
% Close all of the figures simultaneously.

close all

% Copyright 2020 The MathWorks, Inc.