DataTip is shown far from the selected data sample. How can I fix it ?

2 ビュー (過去 30 日間)
Varun Pai
Varun Pai 2022 年 10 月 26 日
コメント済み: Varun Pai 2022 年 10 月 31 日
I have a GUI application created using appdesigner. I plot a scatter plot for random 10 x 2 data. Insted of default datacursor associated with the axis, I created a custom toolbar icon and enable/disable the data cursor from there.
In my data, the X axis values are in the range [0-1]e17, where as my Y axis values are in the range [0-1]e-1. I plot this data in the axes using scatter plot. I enable datacursor tool by clicking on the icon and then click on a sample. The datatip is displayed far from the actual sample.
I am attaching the image for reference. Also attaching my sample code.
Is there any way to fix this ?

回答 (1 件)

Kevin Holly
Kevin Holly 2022 年 10 月 28 日
編集済み: Kevin Holly 2022 年 10 月 28 日
I ran the provided app in R2021b and had the same issue.
I ran the provided app in R2022b and it was resolved.
I would suggest using R2022b.
  1 件のコメント
Varun Pai
Varun Pai 2022 年 10 月 31 日
Hi Kevin,
Thank you for the answer.
Apart from upgrading the MATLAB, Is there any other solution or hack ? Because I have some dependency on R2021b. I run in RHEL7.6, which is not supported by R2022b. I could not update the OS because it is shared by other users also.

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

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by