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.
引用格式
Mr. Zhu (2025). Cursor data (https://ww2.mathworks.cn/matlabcentral/fileexchange/65105-cursor-data), 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.0 |