how to print vector values in logarithm x axis in matlab code example Example: semilog plot matlab set(gca,'yscale','log') set(gca,'xscale','linear')