2013年6月1日 星期六

Matlab: display numbers with higher precision in a MATLAB data cursor


Steps:
1. open one figure -> click 'label' symbol -> right click on the plot -> 'Edit Text Update Function' --> save as to your favorite PATH

2. edit the file 'NewCallback.m'
mofidy 'num2str(pos(2),4)' to 'num2str(pos(2),8)' or whatever you liked


3. click the 'label' bottom again -> 'Select Text Update Function' according to the path of your modified file

4. done

[Ref] http://stackoverflow.com/questions/5961034/how-can-i-display-numbers-with-higher-precision-in-a-matlab-data-cursor

沒有留言:

張貼留言