Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Im ploting a graph where my x axis is in time format. How do I adjust the intervals of the x axis to be 15 minutes? Start at 00:00:00 ending at 23:45:00

1 回表示 (過去 30 日間)
Kamil Haziq
Kamil Haziq 2018 年 3 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日

回答 (1 件)

Benjamin Großmann
Benjamin Großmann 2018 年 4 月 24 日
You can get the char array containing your requested date values by
charArray = datestr(0:minutes(15):hours(23.75),'HH:MM:ss');
then you have to adjust your axes and set the charArray as xTickLabel.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by