how to chagne the y axis limits in 1 code example Example: axis limits matlab xlim([0 10]) ylim([-0.4 0.8])