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 天)
显示 更早的评论
回答(1 个)
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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!