R2025b Figure datatips appearing below colorbars or other elements

10 ビュー (過去 30 日間)
Alexis Fouineau
Alexis Fouineau 2025 年 11 月 21 日
コメント済み: Alexis Fouineau 2025 年 12 月 1 日
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 件のコメント
Adam Danz
Adam Danz 2025 年 11 月 21 日
編集済み: Adam Danz 2025 年 11 月 21 日
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 2025 年 11 月 21 日
編集済み: Alexis Fouineau 2025 年 11 月 21 日
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.

サインインしてコメントする。

回答 (1 件)

Catalytic
Catalytic 2025 年 11 月 30 日
編集済み: Catalytic 2025 年 11 月 30 日
Pull the data box to the left of the data tip anchor point, so that it won't overlap with the colorbar -
  1 件のコメント
Alexis Fouineau
Alexis Fouineau 2025 年 12 月 1 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeApp Building についてさらに検索

タグ

製品


リリース

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by