Inaccurate data in datatips of MATLAB plot
13 views (last 30 days)
Show older comments
I have 3455297x1 matrix, when I try to plot it and check the datatips, the datatip shows inaccurate x axis values.
I am using R2020a. Can I change some settings to get the accurate data in datatips?
Thanks.
0 Comments
Answers (1)
Mehmed Saad
on 30 Jun 2020
fig = figure;
plot(1:3455297,1.026*ones(1,3455297))
X=datacursormode(fig);
X.UpdateFcn = @myupdatefcn;
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!