Hi MathWorks staff and Matlab users. I work on Matlab 2013a software. Main file is "question.m". I have problem with Data cursors.
When i place data cursor on contourf plot i see both 2 coordinates and amplitude level (i. e. z-value ) of the point and everything is OK (see image "1"). But when i save Text Update Function (press "Edit Text Update Function", go to file- save as – "NewCallback.m") to my working directory and then try to open it (press "Select Text Update Function" and choose this new file "NewCallback.m" ) i earn only 2 numbers instead of 3 !!?? I earn only coordinates, but not amplitude.
Look at image "2__I selected text update function.png".
Question: How can i obtain all 3 coordinates of point using "NewCallback.m" (or another modified text update function)?
Thanks in advance!!
Best Answer