plotLogLog#
Purpose#
Graphs X vs. Y using log coordinates.
Format#
- plotLogLog([myPlot, ]x, y)#
- Parameters:
myPlot (struct) – Optional argument, a
plotControlstructurex (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 a power function of X
y = x .^ 2;
// Plot with log scaling on both axes
plotLogLog(x, y);
See also
Functions plotXY(), plotLogX(), plotLogY()