MATLAB: Is it possible to produce a plot in MATLAB with the axes scaled based upon the natural logarithm

axesaxisexponentiallogMATLABnaturalscalescaling

I know it is possible to scale axes based upon a base 10 log scale using the SEIMLOGX and SEMILOGY functions, but there does not seem to be any way to scale axes based upon a natural logarithm scale.

Best Answer

The ability to scale axes based upon a natural logarithm scale is not available in MATLAB.
To work around this issue, plot the natural logarithm of the data on a linearly-scaled figure.
For example, try the following commands:
x = linspace(0, 100);
y = exp(x + 1);
plot(x, log(y))
Related Question