plotLogX#

Purpose#

Graphs X vs. Y using log coordinates for the x-axis.

Format#

plotLogX([myPlot, ]x, y)#
Parameters:
  • myPlot (struct) – Optional argument, a plotControl structure

  • x (Nx1 or NxM matrix) – Each column contains the X values for a particular line.

  • y (Nx1 or NxM matrix) – Each column contains the Y values for a particular line.

Examples#

// Create X data
x = seqa(1, 1, 50);

// Create Y as the natural log of X
y = ln(x);

// Plot with log scaling on the x-axis
plotLogX(x, y);

See also

Functions plotXY(), plotLogY(), plotLogLog()