%% Change Line Characteristics After Plotting
% Create a log-log plot containing two lines, and return the line objects in the variable lg.

x = logspace(-1,2);
y1 = 10.^x;
y2 = 1./10.^x;
lg = loglog(x,y1,x,y2);

%
% Change the width of the first line to 2, and change the color of the second line to purple.

lg(1).LineWidth = 2;
lg(2).Color = [0.4 0 1];

% Copyright 2019 The MathWorks, Inc.