MATLAB: How to set linear Y-axis with logarithm diagram

logplotsemilogyyscale

Hi,
I have to set linear Y-axis with logarithm scale but I need to visualize the linear values ( only Y-axis, not X).
Thank you

Best Answer

Set the 'YScale' axis property to 'log'
x = 1:10;
y = x.^2;
figure
h = plot(x,y)
set(gca, 'YScale', 'log')
Related Question