To make the x-axis count in powers of 10 in MATLAB, you can use the xscale function. Here is an example:
main.m95 chars6 lines
In this example, set(gca, 'XScale', 'log') sets the x-axis to use a logarithmic scale, which will count in powers of 10.
gistlibby LogSnag