Navigation

Operators and Keywords

Function List:

C++ API

: loglogerr (y, ey)
: loglogerr (y, …, fmt)
: loglogerr (x, y, ey)
: loglogerr (x, y, err, fmt)
: loglogerr (x, y, lerr, uerr, fmt)
: loglogerr (x, y, ex, ey, fmt)
: loglogerr (x, y, lx, ux, ly, uy, fmt)
: loglogerr (x1, y1, …, fmt, xn, yn, …)
: loglogerr (hax, …)
: h = loglogerr (…)

Produce 2-D plots on a double logarithm axis with errorbars.

Many different combinations of arguments are possible. The most common form is

loglogerr (x, y, ey, fmt)

which produces a double logarithm plot of y versus x with errors in the y-scale defined by ey and the plot format defined by fmt. See ‘errorbar’, for available formats and additional information.

If the first argument hax is an axes handle, then plot into this axis, rather than the current axes returned by gca.

See also: errorbar, semilogxerr, semilogyerr.

Demonstration 1

The following code

 clf;
 x = exp (log (0.01):0.2:log (10));
 y = wblpdf (x, 3, 2);
 eyu = 2*rand (size (y)) .* y;
 eyl = 0.5*rand (size (y)) .* y;
 loglogerr (x, y, eyl, eyu, "#~x-");
 xlim (x([1, end]));
 title ({"loglogerr(): loglog() plot with errorbars", ...
         "Both axes are logarithmic"});

Produces the following figure

Figure 1

Package: octave