semilogx(x,y)
semilogy(x,y)
semilogx
and semilogy
, as well as loglog
, are used exactly the same as plot
, but they result in graphs on different scales.
semilogx(x,y)
makes a plot using a base 10 logarithmic scale for the x-axis and a linear scale for the y-axis.
semilogy(x,y)
makes a plot using a base 10 logarithmic scale for the y-axis and a linear scale for the x-axis.
semilogy
plot is:
x = 0:.1:10;
semilogy(x,10.^x)
See Alsologlog
,plot
(c) Copyright 1994 by The MathWorks, Inc.