loglog

Purpose

Log-log scale plot.

Synopsis

loglog(x,y)
loglog(x,y,'linetype')
loglog(x1,y1,'linetype1',x2,y2,'linetype2',...)

Description

loglog(...) is the same as plot(...) except logarithmic scales are used for both the x- and y-axes (log-log scales). See plot for information on parameters and options.

Examples

A simple loglog plot:

x = logspace(-1,2);
loglog(x,exp(x))
          

See Also

plot, semilogx, semilogy

(c) Copyright 1994 by The MathWorks, Inc.