DragDataTip

Creates draggable data tips with custom labeling options on some 2-D plots. Custom labels options can also be applied to standard data tips.

ダウンロード
ダウンロード

現在この提出コンテンツをフォロー中です。

編集メモ: This file was selected as MATLAB Central Pick of the Week

引用

Allen (2026). DragDataTip (https://jp.mathworks.com/matlabcentral/fileexchange/69799-dragdatatip), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: draggable, Draggable data tips

ヒントを与えたファイル: DragDataTipMode, LineVisible

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
4.7.9

Minor code improvements. Likely to be the last version and will be replaced by DRAGDATATIPMODE and DRAGTIPOBJ classes. These new class objects will provide the same functionality, but work over a greater range of plot and data types.

ダウンロード
4.6.0

Minor refinements to improve stability and performance.

ダウンロード
4.5.0

Bug Fixes

ダウンロード
4.4.0

-Minor bug fixes and removed unused/redundant code.
-Suppressed warning messages.
-Data tips are deleted when their associated parent objects are deleted.
-Link "Visible" properties between data tip and parent object.

ダウンロード
4.3.0

Fixed bug related to CreateFcn use and improved overall speed (less lag when dragging data tips). Also added behavior improvements related to figure resizing, axes limit changes, object stack order, and figure visibility for opening saved figures.

ダウンロード
4.2.0

Added additional optional customization features, removed dependency of the figure's KeyPressFcn, and updated the CreateFcn callback to maintain DragDataTip functionality when saving and then reopening a figure.

ダウンロード
4.0.0

- Incorporate draggable() directly into code to address multiple issues
- Works with datetime data classes
- Fixed bug on log-scales
- Added more data tip deletion opts
- Fixed bugs associated with various 2-D plot types (scatter,area,bar,etc.)

ダウンロード
3.2.0

- Fixed bug to apply function to multiple figures simultaneously.
- Fixed bug to work with 'duration' data types
- Added non-draggable display fixes for 'date/times'. Requires update to draggable.m to make 'date/times' draggable.

ダウンロード
3.1.0

-Added 'on/off' option to the draggable feature. Allows header and labels to be applied to standard data tips.

ダウンロード
3.0.0

- Now works with a single line of code.
- Assigns function to the current figure when the 'hFig' input is not used.
- Improved data tip deletion methods.
- Fixed bug that allowed data tips to be applied to existing data tip leader lines.

ダウンロード
2.0.0

- Changed function behavior to utilize a property listener on the DataCursorManager "Enable" property. This allows toggling of the DataCursorMode between 'on' and 'off' to create the draggable data tips vs the previous need to use the "KeyPressFcn".

ダウンロード
1.2.0

- Updated parsing of varargin.
- Fixed bug when applying custom data tip labels to default MATLAB Data Tips.

ダウンロード
1.1.0

- Apply custom data tip labels to default MATLAB Data Tips before creating draggable versions.
- Fixed bug that prevented default (gca) assignment of hAx input when not provided.

ダウンロード
1.0.1

Added Acknowledgements

ダウンロード
1.0.0

ダウンロード