I understand from your question that you have a graph which you want to zoom in on for probably better view of the points manually. MATLAB enables you this functionality via
This will enable you to manually scroll on the figure so you can zoom in/ zoom out. Hope this answers your question. You can find the related documentation here .