Zooming a portion of figure in a figure.
Afficher commentaires plus anciens
Dear friends Can any boby will tell the method of zooming only a portion of a particular figure, in figure window. This is mainly required to indicate the detail of a particular segment of a figure. Please reply...
Réponse acceptée
Plus de réponses (2)
Image Analyst
le 12 Juin 2021
1 vote
See attached zooming demo.
3 commentaires
jessupj
le 9 Nov 2021
line 51 of that demo:
button = questdlg(message, 'Continue?', 'OK', 'Quit', 'OK');
At that point in the script, it generates a window that spans all available workspace display area obscuring everything in sight, with Ok/Quit buttons beyond the screen edge. How do I contro this behavior?
(it's a cool demo, and thanks for posting it. but i'm not used to doing anything programmatically with the UI)
Image Analyst
le 10 Nov 2021
@jessupj it does not do that for me. Try restarting MATLAB. What happens if you just do this by itself in the command window (not in the zoom script)?
message = 'Click Continue';
button = questdlg(message, 'Continue?', 'OK', 'Quit', 'OK');
jessupj
le 16 Déc 2021
it happens in a fresh workspace/restarted matlab. a larger-than-multi-monitor-desktop dialog box with buttons that appear outside the viewable window is generated.
so i guess this a question about start/env settings. i have the following possibly relevant settings in my startup script:
set(0,'DefaultFigureVisible','on');
set(0,'DefaultFigureColor',[1 1 1]);
set(0,'DefaultFigureUnits','Normalized');
set(0,'DefaultFigurePosition',[ 0.01 0.7 0.45 0.21 ]);
Catarina Figueira
le 19 Mai 2018
0 votes
What if tou have several 'errobar' graphs in the same figure (using holy on)? how can I define 'indexOfInterest' with more then one 't'?
Catégories
En savoir plus sur Data Exploration dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
