12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

loglogPurpose2loglogLog-log scale plotSyntaxDescriptionloglog(Y)loglog(X1,Y1,...)loglog(X1,Y1,LineSpec,...)loglog(...,'PropertyName',PropertyValue,...)h = loglog(...)loglog(Y) plots the columns of Y versus their index if Y contains real numbers.If Y contains complex numbers, loglog(Y) and loglog(real(Y),imag(Y)) areequivalent. loglog ignores the imaginary component in all other uses of thisfunction.loglog(X1,Y1,...) plots all Xn versus Yn pairs. If only Xn or Yn is a matrix,loglog plots the vector argument versus the rows or columns of the matrix,depending on whether the vector’s row or column dimension matches thematrix.loglog(X1,Y1,LineSpec,...) plots all lines defined by the Xn,Yn,LineSpectriples, where LineSpec determines line type, marker symbol, and color of theplotted lines. You can mix Xn,Yn,LineSpec triples with Xn,Yn pairs, forexample,loglog(X1,Y1,X2,Y2,LineSpec,X3,Y3)loglog(...,'PropertyName',PropertyValue,...) sets property values forall line graphics objects created by loglog. See the line reference page formore information.h = loglog(...) returns a column vector of handles to line graphics objects,one handle per line.RemarksIf you do not specify a color when plotting more than one line, loglogautomatically cycles through the colors and line styles in the order specified bythe current axes.2-294

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!