How change the x axis from second to hour:min:sec?
조회 수: 8 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
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
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


