I have time in hours, for 7days, I want to plot two variable parameters in y axis and the time in days in x axis. How do i plot ?? I have problems converting hours to days along x axis.
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
dpb
2015-4-8
Convert the time in hours to date numbers for the actual times (or use a reference arbitrary start time) and plot versus it. Then format the x axis with
datetick('x','keeplimits')
and format as desired.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!