Inaccurate data in datatips of MATLAB plot

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.

답변 (1개)

Mehmed Saad
Mehmed Saad 2020년 6월 30일

0 개 추천

fig = figure;
plot(1:3455297,1.026*ones(1,3455297))
X=datacursormode(fig);
X.UpdateFcn = @myupdatefcn;
where myupdatefcn is provided in following link by Jan

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 6월 30일

답변:

2020년 6월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by