x = [1: 1000]
hist(x)
then, there are figure showing the histogram, but if i set the axes property and Y-axis to log. I cannot see anything in the figure. How to plot the histogram with log scale.
See Question&Answers more detail:osx = [1: 1000]
hist(x)
then, there are figure showing the histogram, but if i set the axes property and Y-axis to log. I cannot see anything in the figure. How to plot the histogram with log scale.
See Question&Answers more detail:osTry set(gca, 'Xscale', 'log')
for plotting log on X axis. It worked for me I am using 7.12.0 or 2011a. Check the axis reference for more help.