You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
If you have one or more line traces on your plot that are enumerated values, it makes sense to have the enumerated name pop up in the data tip rather than the value. However, if you have non-enumerated curves, putting enumerated names on them is misleading and distracting. The small update function "EnumDataTip" automatically switches between showing the enumerated names and pure values as appropriate for nicely data-tipped mixed-curve plots.
Usage is really easy:
1) Set EnumDataTip as the update function for your figure
2) When plotting an enumerated curve, add the enumerated class as user data
3) Place/move data cursors normally!
ExampleScript.m provides a sample usage case for the EnumDataTip, and the enum_* files hold the classes used by ExampleScript.
Cite As
Reed (2026). Enumeration Data Tipper (https://www.mathworks.com/matlabcentral/fileexchange/45502-enumeration-data-tipper), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (2.26 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
