Check out example codes for "axis limits matlab". It will help you in understanding the concepts better.

Code Example 1

xlim([0 10])
ylim([-0.4 0.8])

Learn ReactJs, React Native from akashmittal.com