plot in a logarithmic scale in mathlab code example Example: plot in log scale matlab plot(x,y) set(gca,'yscale','log')