shortcut2figtool

function for creating shortcuts to figure toolbar buttons (useful for docked figures)
30 téléchargements
Mise à jour 15 oct. 2022

Executes/Emulates callbacks of figure toolbar buttons. Can be used to create a shortcut to figure menu items in the quick access toolbar (useful for docked figures when the figure toolbar is "hidden" behind the Figure toolstrip).
Syntax:
shortcut2figtool(tooltiptag)
e.g.: shortcut2figtool('FileOpen') --> opens a new Figure
See screenshot for example on how to use. The toolbar icons can be found by typing the following in the command window:
fullfile(matlabroot,'/toolbox/matlab/icons/')
Input argument:
tooltiptag - String with the emulated toolbar element
The following inputs are accepted for tooltiptag:

'PlottoolsOn' 'PlottoolsOff' 'InsertLegend' 'InsertColorbar' 'Linking' 'Brushing' 'DataCursor' 'Rotate' 'Pan' 'ZoomOut' 'ZoomIn' 'EditPlot' 'PrintFigure' 'SaveFigure' 'FileOpen' 'NewFigure'

This function relies heavily on undocumented functions and may break in a future Matlab release.

Author: Marc Jakobi 21.03.2017

Citation pour cette source

Marc Jakobi (2024). shortcut2figtool (https://github.com/mrcjkb/shortcut2figtool), GitHub. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2017a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
1.1.0.0

Added screenshot

1.0.0.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.