Name

loglog — logarithmic scaled plot

Calling Sequence

hdl = loglog(X,Y)

Parameters

X

1 by n or m by n matrix

Y

1 by n or m by n matrix

hdl

Handle of the created Polyline entity

Description

LOGLOG(...) is the same as PLOT(...), except a logarithmic (base 10) scale is used for the X-axis and the Y-axis.

Examples

w=logspace(-2,2,512);
s=%i*w;g=[];
for alpha=logspace(-2,1,5);
  g=[g;(1)./(s.^2+alpha*s+1)];
end
loglog(w,abs(g));

See Also

semilogx , semilogy

Authors

Stéphane Mottelet