Data cursor doesn't display the values set with xticklabel?

I do this to change the x axis values but im not sure how to get the Data cursor to display these new values
set(gca, 'XTick', [1:24:dt], 'XTickLabel', [tW+1:24:tW+1+dt]);

 Respuesta aceptada

the cyclist
the cyclist el 11 de Jun. de 2014
That command changes only the values labeling the axes. It does not change the data themselves. The data cursor shows the value of the data themselves.

1 comentario

Oh right.. I set the x coordinates to the absolute values when plotting and now it works.
Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Exploration en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Jun. de 2014

Comentada:

el 13 de Jun. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by