Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Hi Everybody . I was trying to change the variable X & Y to t & Alpha in Data-tips but I couldn't find any way to do that. Is there any idea helps to do it. Thanks in advance
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi Everybody
I was trying to change the variable X & Y to t & Alpha in Datatips but I couldn't find any way to do that. Is there any idea helps to do it. Thanks in advance
댓글 수: 0
답변 (1개)
Walter Roberson
2017년 6월 11일
Look at the second example at https://www.mathworks.com/help/matlab/ref/datacursormode.html#bsawkea-7
댓글 수: 2
Walter Roberson
2017년 7월 6일
Sorry, I missed your comment. Example:
dcm = datacursormode(gcf);
dcm.UpdateFcn = @(src, event) {sprintf('\x03c4 = %g\n\x03b1 = %g', event.Position)};
Note: this will require R2014b or later
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!