Gauge for GUIDE
Gauge is available for UIfigure and Simulink but is not available for a figure (maybe i am wrong). A lot of people still works on GUIDE thus the solution.
User can set following things in Gauge
1. Gauge Fill Color
2. Gauge Background Color
3. Needle Color
4. units of gauge (interpreter is tex)
5. Label of Gauge
6. Gauge Limits (min max)
There are three files
1. The_Gauge (Function which Draws Gauge)
2. Gauge_callback (button press callback)
3. Example_Code_Guage_Use_main (Example code on how to use The_Gauge)
When you call the function, it will ask you to draw where you want to draw the Gauge.
Gauge will always be with aspect ratio of 1:2. i.e. width will be twice the height
Cite As
Mehmed Saad (2024). Gauge for GUIDE (https://www.mathworks.com/matlabcentral/fileexchange/76772-gauge-for-guide), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |