<< line | Graphics functions | mesh >> |
loglog(X, Y) |
loglog(X, Y, LineSpec) |
loglog(Y) |
loglog(Y, LineSpec) |
loglog(ax, ...) |
loglog(..., propertyName, propertyValue) |
go = loglog(...) |
Log 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.
loglog(X, Y) plots data using a base 10 logarithmic scale for the x-axis and the y-axis.
loglog has the exact same syntax as the plot command.
f = figure();
x = logspace(-1,2);
y = 2 .^ x;
loglog(x,y)
grid on
f = figure();
x = logspace(-1,2,20);
y = 10 .^ x;
loglog(x,y,'s','MarkerFaceColor',[0 0.447 0.741])
grid on
semilogx, semilogy, line, plot, grid.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET