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
引用格式
Mehmed Saad (2024). Gauge for GUIDE (https://www.mathworks.com/matlabcentral/fileexchange/76772-gauge-for-guide), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |