how to increase the range of measurement of data cursor in a plot?

조회 수: 16 (최근 30일)
sayan chakraborty
sayan chakraborty 2016년 6월 7일
답변: soon kiat 2020년 3월 19일
I want to measure time in the range of microseconds.how to increase the range of measurement of data cursor in a plot? The data cursor shows data up to 4 decimal places. How can I increase it to 6 or 7 decimal places. Please Help

채택된 답변

soon kiat
soon kiat 2020년 3월 19일
Right click on the data tip and select 'Edit Text Update Functions...'
Then, callback editor will pop up as shown in figure below:
Edit the highlighted text as shown in figure above as the number of digits you wish to show on data tip.
Then, click on file tab and click 'save as...' to the directory you wish. Close the callback editor window.
Finally, Right click on the data tip and click on 'Select Text Update Functions...' and go to the directory you save your file just now and double click on the .m file you save.

추가 답변 (1개)

José-Luis
José-Luis 2016년 6월 7일
편집: José-Luis 2016년 6월 7일
Just modify to your heart's content. Hint: use sprintf() instead of num2str()
  댓글 수: 1
sayan chakraborty
sayan chakraborty 2016년 6월 7일
편집: sayan chakraborty 2016년 6월 7일
I am using simplot to plot the data collected from scope. Any help in that?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by