plot log matlab code example
Example 1: semilog plot matlab
set(gca,'yscale','log')
set(gca,'xscale','linear')
Example 2: plot in log scale matlab
plot(x,y)
set(gca,'yscale','log')
set(gca,'yscale','log')
set(gca,'xscale','linear')
plot(x,y)
set(gca,'yscale','log')