plotLogY#
Purpose#
Graphs X vs. Y using log coordinates for the y-axis.
Format#
- plotLogY([myPlot, ]x, y)#
- Parameters:
myPlot (struct) – Optional argument, a
plotControlstructurex (Nx1 or NxM matrix) – Each column represents the X values for a particular line.
y (Nx1 or NxM matrix) – Each column represents the Y values for a particular line.
Examples#
// Create X data
x = seqa(1, 1, 50);
// Create exponentially growing Y data
y = exp(x ./ 10);
// Plot with log scaling on the y-axis
plotLogY(x, y);
See also
Functions plotXY(), plotLogX(), plotLogLog()