uibar: Colored bar indicator (like a waitbar) that can be placed in a figure.

Multi-purpose variable-length colored bar indicator.
63 Descargas
Actualizado 11 jul 2017

Ver licencia

This is a class that implements a colored bar indicator, very much like a waitbar, that you can embed in any figure. It mimics built-in MATLAB UI elements with the following properties and their default values:
BackgroundColor = [1 1 1]
BorderColor = [0 0 0]
CurrentMouseValue (Read-only)
Direction = 'east' or 'north' depending on Position and DirectionMode
DirectionMode = 'auto'
ForegroundColor = [1 0 0]
LineWidth = 0.5
Max = 1
Min = 0
Position = [20 20 200 15]
Units = 'pixels'
Value = 0
ButtonDownFcn
DeleteFcn
HitTest = 'on'
Parent
Selected = 'off'
SelectionHighlight = 'on'
Type = 'uibar' (Read-only)
UIContextMenu
UserData
Visible = 'on'
You change the length of the bar simply by setting the Value property of the instantiated object.
mybar = uibar;
mybar.Value = 0.5;

Citar como

Douglas Schwarz (2024). uibar: Colored bar indicator (like a waitbar) that can be placed in a figure. (https://www.mathworks.com/matlabcentral/fileexchange/63687-uibar-colored-bar-indicator-like-a-waitbar-that-can-be-placed-in-a-figure), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
2.0.0.0