how to properly magnify the image created by matlab code?
1 view (last 30 days)
Show older comments
I have create an image by matlab code as below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149890/image.jpeg)
when I want to view the details,use "zoom in"; but most time, after zoom in, the image's window shows blank rather than the proper picture;then I should use "hand tool" to drag back the proper picture to window's show. My question: what code shall I add , if I want to get the proper picture in the image window automaticly when I zoom in the image?
thank you!
1 Comment
Geoff Hayes
on 7 May 2015
Try selecting an area to zoom in around. Once you have pressed the zoom in button (as you have shown in the above figure) then select the region of interest by selecting a point in the graph and, while keeping the mouse button down, drag the box (that is created) around the region you wish to zoom in on. Release the mouse button and you should have just the region in the figure that you are interested in.
Answers (0)
See Also
Categories
Find more on Visual Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!