Gauge for GUIDE

Version 1.0.0 (4.24 KB) by Mehmed Saad
Gauge control for GUIDE with mouse interaction
Updated 10 Jun 2020

View License

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 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with R2019a to R2020a
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes