How to Change the physical dimensions of a figure in a GUI?
Show older comments
Hello. I have a GUI that takes a matrix of size (a b) and images the data on an axis. The main purpose of this GUI is to analyze an image of a diffraction pattern, and my goal is to conserve the dimensions of the original data. My issue is that I am unable to figure out how to change the physical dimensions of my axis depending on the size of my matrix. Just to reiterate I already have the x,y values displayed on my axis, but when I image my data the pixel size is distorted depending on the size of the matrix. Is there any way to change the size of the figure to be the same as the size of the matrix without going back to guide and dragging the axis to a new position?
Thank you,
-Eric
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic 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!