Stop automatically showing "data tips"

5 Ansichten (letzte 30 Tage)
Nils Tilton
Nils Tilton am 13 Apr. 2021
Kommentiert: Nils Tilton am 14 Apr. 2021
Ever since I updated to Matlab 2020, there is an annoying feature such that if I happen to click the cursur in a figure, it will add a little "pin" showing the coordinates of the closest data point. Can I turn this new feature off? It's causing me lots of problems.

Akzeptierte Antwort

Jan
Jan am 14 Apr. 2021
Include this in the startup.m function:
if ~verLessThan('MATLAB','9.7')
set(groot, 'defaultAxesCreateFcn', @(ax,~) disableDefaultInteractivity(ax))
end
  5 Kommentare
Adam Danz
Adam Danz am 14 Apr. 2021
Don't forget to accept Jan's answer (blue accept answer button).
Glad you got it worked out!
Nils Tilton
Nils Tilton am 14 Apr. 2021
Thanks!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by