%% Add Padding Around Stairstep Plot
% Create a stairstep plot, and use the axis padded command to add a margin of padding between the plot and the plot box.

x = 0:12;
y = sin(x);
stairs(x,y)
axis padded

% Copyright 2020 The MathWorks, Inc.