Inaccurate data in datatips of MATLAB plot
5 ビュー (過去 30 日間)
古いコメントを表示
I have 3455297x1 matrix, when I try to plot it and check the datatips, the datatip shows inaccurate x axis values.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/324430/image.png)
I am using R2020a. Can I change some settings to get the accurate data in datatips?
Thanks.
0 件のコメント
回答 (1 件)
Mehmed Saad
2020 年 6 月 30 日
fig = figure;
plot(1:3455297,1.026*ones(1,3455297))
X=datacursormode(fig);
X.UpdateFcn = @myupdatefcn;
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!