semilogx

Semilog plot (x-axis has log scale).

📝 Syntax

  • semilogx(X, Y)

  • semilogx(X, Y, LineSpec)

  • semilogx(Y)

  • semilogx(Y, LineSpec)

  • semilogx(ax, ...)

  • semilogx(..., propertyName, propertyValue)

  • go = semilogx(...)

📥 Input argument

  • X - Log scale coordinates: scalar, vector or matrix.

  • Y - Linear scale coordinates: scalar, vector or matrix.

  • LineSpec - Line style, marker, and/or color: character vector or scalar string.

  • ax - a scalar graphics object value: parent container, specified as a axes.

  • propertyName - a scalar string or row vector character. see help of 'line' for property list.

  • propertyValue - a value.

📤 Output argument

  • go - a graphics object: line type.

📄 Description

semilogx(X, Y) plots data using a base 10 logarithmic scale for the x-axis and a normal (linear) scale for the y-axis.

semilogx has the exact same syntax as theplot command.

💡 Examples

🔗 See also

semilogy, line, plot, grid.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?