%% Logarithmic Scale for Both Axes
% Create a plot using a logarithmic scale for both the x-axis and the
% y-axis. Set the |LineSpec| string so that |loglog| plots using a line with square markers.
% Display the grid.

% Copyright 2015 The MathWorks, Inc.


x = logspace(-1,2);
y = exp(x);

figure
loglog(x,y,'-s')
grid on
