The following produces our favorite surf plot
[X,Y,Z] = peaks(25);
I can rotate the figure with the rotate3D mouse function. Then, when I add EITHER
set(gca, 'XLim',[0 4])
set(gca, 'XScale', 'log')
everything still rotates fine. But when I add BOTH lines to the code, the figure can no longer be rotated. Any ideas?