Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
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
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 11 de Jun. de 2017
Look at the second example at https://www.mathworks.com/help/matlab/ref/datacursormode.html#bsawkea-7
2 comentarios
Walter Roberson
el 6 de Jul. de 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
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!