MATLAB: How do you change the x scale of a plot to logs

change scalelogsscale

I am trying to make my plots x scale in logs i did it manually but don't know the code.
Related Question