Cursor data
Use this function to read multiple line data values with the same x coordinates. To use it properly, follow the following steps:
1. Plot the figure with mutiple lines;
2. Activate the Datatip in the figure toolbar;
3. In the blank area of the axes, click the right button of the mouse and choose the " Choose the text refreshing function" in the context menu, then choose MyCursorLineDataCallback.m as the refreshing function;
4. Click and drag the datatip, the data at the current x point will refresh simultaneously with the legend to distinguish each line data.
Cite As
Mr. Zhu (2024). Cursor data (https://www.mathworks.com/matlabcentral/fileexchange/65105-cursor-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.0 |