How change the x axis from second to hour:min:sec?

6 visualizaciones (últimos 30 días)
Guilherme de Melo
Guilherme de Melo el 13 de Oct. de 2017
Comentada: Guilherme de Melo el 15 de Oct. de 2017
Dears,
I would like to know how I convert the x axis values showed in seconds to the format HH:MM:SS. The data that I read has more than 1 hour of time and the axis show the values in seconds, being that I know the hour of beginning of axis.
I will be very grateful.
Regards, Guilherme de Melo

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de Oct. de 2017
If you are using datetime objects for the x axis, set the Format property of the objects.
If you are using datenum, use datetick() and indicate the format style you want.
  13 comentarios
Walter Roberson
Walter Roberson el 15 de Oct. de 2017
Signal processing is not something I do much of, so I am somewhat rusty on the theory, but I have dug into spectrogram on occasion to figure out whether particular parts were configurable.
Guilherme de Melo
Guilherme de Melo el 15 de Oct. de 2017
No problem. Very thank you for all help.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by