Skip to content

loglog

Log-log scale 2D plot.

h = loglog(x, y, ...)

Same as plot but with both axes on a logarithmic scale. Useful for power-law data or wide-dynamic-range plots.

loglog(freq, magnitude)
  • plot — 2D line / marker plot.
  • semilogx — Semi-log plot (logarithmic x-axis).
  • semilogy — Semi-log plot (logarithmic y-axis).