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

답변 (1개)

Walter Roberson
Walter Roberson 2017년 6월 11일
  댓글 수: 2
Abdulmajid Mrebit
Abdulmajid Mrebit 2017년 6월 12일
Thank you very much, I really appreciat your help, but I can not change time to a Greek letter as we do in text command for example ( \theta). is there any way to write it in txt command?
Walter Roberson
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!

Translated by