plot with string value in x axis
3 次查看(过去 30 天)
显示 更早的评论
I have a data
date temperate
----
'2020-01' 10
'2020-02' 10
'2020-03' 20
I tried
plot(date, temperature)
and got "invalid data argument"
Please advise.
4 个评论
madhan ravi
2020-7-3
编辑:madhan ravi
2020-7-3
alpedhuez: What are you talking about ?
Replying to your comment in https://in.mathworks.com/matlabcentral/answers/559019-plot-with-string-value-in-x-axis#comment_923855
Did you see your previous thread https://in.mathworks.com/matlabcentral/answers/558439-month-as-a-two-digit-number#comment_923876 ?
回答(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!