- Click on 'Zoom Y' in the toolbar.
- Right-click anywhere on the plot.
- Select 'Horizontal Zoom' to scale the X-axis.
- You should be able to see an option that allows zooming on the X-axis as seen in the image below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1715756/image.png)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!