getframe_nosteal_focus
By printing the plot to a temporary image file, and then reading the image in again, this function gets the plot without stealing the focus from anything else you might want to do with the computer while plotting.
It also avoids the issue of getframe sometimes capturing a window on top of the plotting window you want to capture.
Note that, in contrast to getframe, this does not capture the plot exactly as it looks on the screen, but instead the way it looks when you print it to an image file.
Citation pour cette source
Erik (2024). getframe_nosteal_focus (https://www.mathworks.com/matlabcentral/fileexchange/25972-getframe_nosteal_focus), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > Images > Convert Image Type >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Just added a sentence to the description. |
||
1.0.0.0 |