plot with string value in x axis

3 ビュー (過去 30 日間)
alpedhuez
alpedhuez 2020 年 7 月 3 日
編集済み: alpedhuez 2020 年 7 月 3 日
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
madhan ravi 2020 年 7 月 3 日
編集済み: madhan ravi 2020 年 7 月 3 日
alpedhuez
alpedhuez 2020 年 7 月 3 日
編集済み: alpedhuez 2020 年 7 月 3 日
Solution: the problem is that in Matlab 'mm' is minuets that one needed to use 'MM' for months.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by