Sure, just set what you want...as a note going forward, most often with these kinds of things, "just try it" is the fastest way to the solution.
ylim([0 2])
set(gca,'xtick', [0 1])
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!