Resizing to align 2 axes in MATLAB GUI
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have 2 images of size 512x512(IMG1) and 512x46(IMG2) respectively which are placed vertically on top of each other in a figure. When I crop IMG1, I want the IMG2 to resize and align vertically with IMG1. I have tried daspect, pbaspect and linkaxes option in MATLAB but cant seem to get the exact results I want. Not sure what I'm doing wrong. Any help in this regard is greatly appreciated. NOTE: I have attached before and after images. The after image shows imperfect alignment of top and bottom image..
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149427/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149430/image.png)
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Graphics Object Programming in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!