- Ajuda do Scilab
- Biblioteca de Gráficos
- 2d_plot
- champ
- champ1
- champ_properties
- comet
- contour2d
- contour2di
- contour2dm
- contourf
- cutaxes
- errbar
- fchamp
- fec
- fec properties
- fgrayplot
- fplot2d
- grayplot
- grayplot_properties
- graypolarplot
- histplot
- LineSpec
- loglog
- Matplot
- Matplot1
- Matplot properties
- paramfplot2d
- plot
- plot2d
- plot2d2
- plot2d3
- plot2d4
- plotimplicit
- polarplot
- scatter
- semilogx
- semilogy
- Sfgrayplot
- Sgrayplot
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
loglog
2D logarithmic plot
Syntax
loglog // demo loglog(y) loglog(x, y) loglog(x, fun) loglog(x, list(fun, param)) loglog(.., LineSpec) loglog(.., LineSpec, GlobalProperty) loglog(x1, y1, LineSpec1, x2,y2,LineSpec2,...xN, yN, LineSpecN, GlobalProperty1,.. GlobalPropertyM) loglog(x1,fun1,LineSpec1, x2,y2,LineSpec2,...xN,funN,LineSpecN, GlobalProperty1, ..GlobalPropertyM) loglog(axes_handle,...)
Arguments
- x
vector or matrix of strictly positive real numbers or integers. If omitted, it is assumed to be the vector
1:n
wheren
is the number of curve points given by they
parameter.- y
vector or matrix of strictly positive real numbers or integers.
- fun, fun1, ..
handle of a function, as in
loglog(x, gamma)
.If the function to plot needs some parameters as input arguments, the function and its parameters can be specified through a list, as in
loglog(x, list(delip, -0.4))
- LineSpec
This optional argument must be a string that will be used as a shortcut to specify a way of drawing a line. We can have one
LineSpec
pery
or{x,y}
previously entered.LineSpec
options deals with LineStyle, Marker and Color specifiers (see LineSpec). Those specifiers determine the line style, mark style and color of the plotted lines.- GlobalProperty
This optional argument represents a sequence of couple statements
{PropertyName,PropertyValue}
that defines global objects' properties applied to all the curves created by this plot. For a complete view of the available properties (see GlobalProperty).- axes_handle
This optional argument forces the plot to appear inside the selected axes given by
axes_handle
rather than the current axes (see gca).
Description
loglog
plots data using a base 10 logarithmic scale for both x-axis and y-axis. The possible syntaxes and arguments are the same as the plot function besides the condition that values in x and y arguments be strictly positive.
If the current axes is not empty and the x-axis or the y-axis has a negative lower bound then its scale will remain linear after the plot.
Enter the command loglog
to see a demo.
Examples
See also
- plot — Esboço 2d
- semilogx — 2D semilogarithmic plot
- semilogy — 2D semilogarithmic plot
- LineSpec — Customização rápida de linhas que aparecem em um esboço
- GlobalProperty — Customização de aparência dos objetos (curvas, superfícies...) num comando plot ou surf.
History
Versão | Descrição |
6.1.1 | Function loglog added. |
Report an issue | ||
<< LineSpec | 2d_plot | Matplot >> |