Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
Abdulmajid Mrebit
Abdulmajid Mrebit le 11 Juin 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

Walter Roberson
Walter Roberson le 11 Juin 2017
  2 commentaires
Abdulmajid Mrebit
Abdulmajid Mrebit le 12 Juin 2017
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 le 6 Juil 2017
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

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by