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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

semilogx, semilogyPurpose2semilogx, semilogySemi-logarithmic plotsSyntaxsemilogx(Y)semilogx(X1,Y1,...)semilogx(X1,Y1,LineSpec,...)semilogx(...,'PropertyName',PropertyValue,...)h = semilogx(...)semilogy(...)h = semilogy(...)Descriptionsemilogx and semilogy plot data as logarithmic scales for the x- and y-axis,respectively. logarithmicsemilogx(Y) creates a plot using a base 10 logarithmic scale for the x-axis anda linear scale for the y-axis. It plots the columns of Y versus their index if Ycontains real numbers. semilogx(Y) is equivalent to semilogx(real(Y),imag(Y)) if Y contains complex numbers. semilogx ignores the imaginarycomponent in all other uses of this function.semilogx(X1,Y1,...) plots all Xn versus Yn pairs. If only Xn or Yn is a matrix,semilogx plots the vector argument versus the rows or columns of the matrix,depending on whether the vector’s row or column dimension matches thematrix.semilogx(X1,Y1,LineSpec,...) plots all lines defined by the Xn,Yn,LineSpectriples. LineSpec determines line style, marker symbol, and color of the plottedlines.semilogx(...,'PropertyName',PropertyValue,...) sets property values forall line graphics objects created by semilogx.semilogy(...) creates a plot using a base 10 logarithmic scale for the y-axisand a linear scale for the x-axis.h = semilogx(...) and h = semilogy(...) return a vector of handles to linegraphics objects, one handle per line.2-433

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

Saved successfully!

Ooh no, something went wrong!