MATLAB: Plotting a Scatter Plot With Logarithmic Axes

scatter plotting

I'm currently doing some simulation work for a physics honours project and I have data generated into vectors that I'd like to plot. I've read up on the scatter() function, but haven't seen how to plot any of those axes in a logarithmic fashion. I was wondering if anyone knew if the scatter() function had this functionality or not?

Best Answer

scatter(1:10,1:10)
set(gca,'xscale','log')