R2025b Figure datatips appearing below colorbars or other elements

10 visualizaciones (últimos 30 días)
Hi all,
I recently upgraded from R2024a to R2025b, and I observed that the datatips are now displayed below other elements of the figures, such as colorbars or other figures when using subplots. Below is a comparison of the behavior in R2024a and R2025b for the same figure.
Is there a way to have the datatip always be at the front ? Or to keep using legacy figures of R2024a in Matlab R2025b ?
This is very important for me because I often edit the datatip content to contain additionnal information, which can result in big datatips and I want them to be over any other element of the figure.
R2024a
R2025b
  3 comentarios
Adam Danz
Adam Danz el 21 de Nov. de 2025
Editada: Adam Danz el 21 de Nov. de 2025
Thanks for reporting this @Alexis Fouineau, we're looking into it.
Thanks for chipping in @Mathieu NOE. Copilot is right about this changing in R2025a but the rest about stacking order is only partially correct. The z-order it's refering to via uistack is only helpful within a layer but there is a back & front layer component and other annotation layering behind the scenes that is coming into play here as well.
I'll share a workaround if I find one.
Alexis Fouineau
Alexis Fouineau el 21 de Nov. de 2025
Editada: Alexis Fouineau el 21 de Nov. de 2025
Hi, @Mathieu NOE thank you for the answer, I tried all of the options above and unfortunately none seems to work..
@Adam Danz thanks for looking into this ! For now I will probably keep using R2024a until I have a solution.

Iniciar sesión para comentar.

Respuestas (1)

Catalytic
Catalytic el 30 de Nov. de 2025
Editada: Catalytic el 30 de Nov. de 2025
Pull the data box to the left of the data tip anchor point, so that it won't overlap with the colorbar -
  1 comentario
Alexis Fouineau
Alexis Fouineau el 1 de Dic. de 2025
Thank you, I know I can do that, but as I said I typically edit the datatip with a lot of information and sometimes I can't work this around, I have to recenter the figure and go fullscreen, a problem I did not have in MATLAB R2024a.
Moreover, I also have the problem with subplots, where the datatip goes behind other axes of the figure.

Iniciar sesión para comentar.

Categorías

Más información sobre App Building en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by