MATLAB: Meshgrid for logarithmic scales

logarithmic scalesMATLABmeshmeshgrid

I would like to make 3-D plot using mesh in which one axis should be on a logarithmic scale. Is there a way to use meshgrid and mesh to do this?
Thanks.

Best Answer

Set the corresponding scale to 'log'
h = figure;
A = axes;
surf(magic(10));
set(A,'XScale','log')
The explanation is in:
docsearch axes properties
under xscale/yscale/zscale