Info
This question is closed. Reopen it to edit or answer.
Loading images with different ranges on one axes in GUI
1 view (last 30 days)
Show older comments
Im working on GUI in which I have a list of images from which a user selects one and it gets displayed on the axes. However, each image has its own x and y axis range. What I need is when the user selects any image, its x and y axis values gets displayed on the axes. Please help me on this. I know how to do it for one image but having problem in case of multiple images with different axes range
3 Comments
Ameer Hamza
on 28 Apr 2018
You can change XLim and YLim property of axis object, according to the image selection. You can save XLim and YLim values corresponding to each image in an array and one user select an image, just check that array to see what values need to be set.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!