Navigation

Operators and Keywords

Function List:

C++ API

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

Produce 2-D plots using a logarithmic scale for the y-axis and errorbars at each data point.

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

semilogyerr (x, y, ey, fmt)

which produces a semi-logarithmic 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, loglogerr.

Demonstration 1

The following code

 clf;
 x = 0.25:0.25:10;
 y = wblpdf (x, 4, 2);
 eyu = rand (size (y));
 eyl = 1.0 - 1./(1+eyu);
 semilogyerr (x, y, eyl.*y, eyu.*y, "~-d");
 xlim ([0 10]);
 title ({"semilogyerr(): semilogy() plot with errorbars", ...
         "Y-axis is logarithmic"});

Produces the following figure

Figure 1

Package: octave