Descriptionsemilogx plot data as logarithmic scalesfor the x-axis.semilogx(Y) creates a plotusing a base 10 logarithmic scale for the x-axisand a linear scale for the y-axis. It plots thecolumns of Y versus their index. The values in Y canbe numeric, datetime, duration, or categorical values. If Y containscomplex values, then semilogx(Y) is equivalentto semilogx(real(Y),imag(Y)). The semilogx functionignores the imaginary component in all other uses of this function.semilogx(X1,Y1.) plotsall Yn versus Xn pairs.
If onlyone of Xn or Yn is a matrix, semilogx plotsthe vector argument versus the rows or columns of the matrix, alongthe dimension of the matrix whose length matches the length of thevector. If the matrix is square, its columns plot against the vectorif their lengths match. The values in Yn can benumeric, datetime, duration, or categorical values. The values in Xn mustbe numeric.semilogx(X1,Y1, LineSpec.)plots all lines defined by the Xn,Yn, LineSpec triples. LineSpec determinesline style, marker symbol, and color of the plotted lines.semilogx(.,' PropertyName',PropertyValue.)sets property values for all charting lines created by semilogx.For a list of properties, see.semilogx(ax.) creates the line in theaxes specified by ax instead of in the currentaxes ( gca). The option ax canprecede any of the input argument combinations in the previous syntaxes.h = semilogx(.) returna vector of chart line objects.