I cant turn off data tips

10 visualizaciones (últimos 30 días)
Isaiah Slemons
Isaiah Slemons el 31 de Mayo de 2019
Comentada: Bjorn Gustavsson el 28 de Ag. de 2020
Im inside of a callback function from a mouse click on a pop up menu that populates a graph. No matter what I do I can't get the data tips to not show when I mouse over, or click the graphs. I want the data tips and ability to select data points off. I realize I am in a function the uses a mouse click callback so I suppose I don't know if I even can do that. I've tried using datacursormode off but that didn't work either. Thanks in advance.
  4 comentarios
Lane
Lane el 4 de Mzo. de 2020
Did this problem ever get solved? Because I have the same problem. I never turn datatips on (or indeed use them) but my figures get littered with them.
Chad Greene
Chad Greene el 17 de Jun. de 2020
Lane: I asked the same question here because the datatips were driving me nutty too. This solution works, for me but I have to type it before I click on any axes.
disableDefaultInteractivity(gca)

Iniciar sesión para comentar.

Respuestas (1)

Apurvi Mansinghka
Apurvi Mansinghka el 18 de Jun. de 2020
Editada: Apurvi Mansinghka el 18 de Jun. de 2020
Hi,
As I understand you want to disable the data tips that occur while hovering mouse over the figures.
disableDefaultInteractivity(ax)
Above function allows to disable the default axes interactions or a custom set of axes interactions.
Refer the below link to understand the input parameters to the above function.
  1 comentario
Bjorn Gustavsson
Bjorn Gustavsson el 28 de Ag. de 2020
Apurvi, could you please forward a whish for a more prominent placing of information about how to turn this feature off in the documentation.

Iniciar sesión para comentar.

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by