How to plot gridded data
古いコメントを表示
please help, I used the retime function to change my gridded temperature data from daily to yearly. I tried plotting the data using pcolor but got the error (color data input must be a matrix) How can I plot this data?
6 件のコメント
Walter Roberson
2021 年 6 月 29 日
After you use retime() what is the size of the data part of the result ?
Lemea Akara
2021 年 6 月 29 日
編集済み: Lemea Akara
2021 年 6 月 29 日
Walter Roberson
2021 年 6 月 29 日
pcolor() is only for 2 dimensional data grids, never for vectors.
What is the size() of the timetable object ? Please show your code to retime()
Lemea Akara
2021 年 6 月 29 日
編集済み: Walter Roberson
2021 年 6 月 29 日
Walter Roberson
2021 年 6 月 29 日
Your dt from above is 1 element longer than 16435. datetime('1-jan-2015')-datetime(1970,1,1) is 16436 days. You lost a day somewhere ??
Lemea Akara
2021 年 6 月 29 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
