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

8 ビュー (過去 30 日間)
Guilherme de Melo
Guilherme de Melo 2017 年 10 月 13 日
コメント済み: Guilherme de Melo 2017 年 10 月 15 日
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

採用された回答

Walter Roberson
Walter Roberson 2017 年 10 月 13 日
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 件のコメント
Walter Roberson
Walter Roberson 2017 年 10 月 15 日
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 2017 年 10 月 15 日
No problem. Very thank you for all help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by