Plotting temperature vs date, which will be a combination of two array?
显示 更早的评论
Situation: Trying to plot temp Vs (month/year) Data given: temp, month, year are all arrays with single column Code used:
dates=datenum([finalmonth,finalyear]);
plot(dates,finaltemp,'b.');
datetick('x','mmmm','keepticks')
Problem with this code: Its is plotting all the point at just one point on x-axis
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Dates and Time 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!