<< semilogx | Graphics functions | sky >> |
semilogy(X, Y) |
semilogy(X, Y, LineSpec) |
semilogy(Y) |
semilogy(Y, LineSpec) |
semilogy(ax, ...) |
semilogy(..., propertyName, propertyValue) |
go = semilogy(...) |
Linear scale coordinates: scalar, vector or matrix.
Log scale coordinates: scalar, vector or matrix.
Line style, marker, and/or color: character vector or scalar string.
a scalar graphics object value: parent container, specified as a axes.
a scalar string or row vector character. see help of 'line' for property list.
a value.
a graphics object: line type.
semilogy(X, Y) plots data using a base 10 logarithmic scale for the y-axis and a normal (linear) scale for the x-axis.
semilogy has the exact same syntax as the plot command.
f = figure();
x = 1:100;
y1 = x.^2;
y2 = x.^3;
semilogy(x,y1,'--',x,y2)
legend('x^2','x^3','Location','northwest')
f = figure();
y = [ 0.1 1 10
0.2 2 20
1.0 10 100
10 100 1000
1000 10000 100000];
semilogy(y)
grid on
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET