When you applied the axis() function, you are restricting to a region that does not have your plotted points. I think maybe you meant to plot
>> semilogx(x,Y)
or else you need to switch the x and y values in your axis() command.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!