How to plot temporal figure ?
2 ビュー (過去 30 日間)
古いコメントを表示
I have time series data below
5.99 7.28 8.86 10.79 13.12 15.97 19.44 23.65 28.78 35.03 42.62 51.85
1/7/2015 16:30 1384 217 2276 3328 2796 5153 5436 6081 6373 7893 7916 7676
1/7/2015 16:38 0 254 924 2704 3681 5520 6717 6641 5114 4630 6306 6870
1/7/2015 16:46 0 768 2540 3944 3921 6557 8559 7920 5570 7629 6370 6580
1/7/2015 16:54 547 780 1894 2702 3622 6675 13139 10464 8671 7736 7526 8246
1/7/2015 17:02 648 886 1207 1479 2647 3815 5810 5305 5661 5660 6242 7476
1/7/2015 17:10 2020 1313 2282 2157 4961 5865 7209 5335 4704 4835 5242 5801
1/7/2015 17:18 1753 0 869 3859 7580 6563 9042 6911 5853 5539 5447 5963
1/7/2015 17:26 695 0 3620 4773 4471 5132 6518 5873 5485 4953 5080 5851
1/7/2015 17:34 1321 1338 1332 2549 3887 4480 6350 5862 5586 5000 5540 5923
1/7/2015 17:41 622 1344 1183 4329 5009 7259 7540 8905 9061 8503 7733 8289
1/7/2015 17:49 0 395 2816 3284 4374 5325 5865 6292 5146 5244 5608 6344
1/7/2015 17:57 0 233 1867 3632 4611 7592 8829 9600 9091 6426 6452 6448
1/7/2015 18:05 578 2124 3235 4323 5560 12145 9789 9177 13672 12881 8643 6734
1/7/2015 18:13 0 1595 2399 4323 6782 8717 8587 7461 7116 6942 6396 7396
1/7/2015 18:21 2021 1292 3227 2510 4278 4154 4511 4936 4587 5769 5616 6250
1/7/2015 18:29 593 1867 2412 2700 5211 4942 6502 7376 6671 5996 5160 5720
1/7/2015 18:37 532 1032 2903 3633 4709 5319 6093 6567 6614 8225 7859 7857
and I would like to plot this data like below image. Time should be in x axis and 1st row should yyaxis left remianing data will be temporal
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242086/image.png)
2 件のコメント
Adam Danz
2019 年 10 月 10 日
編集済み: Adam Danz
2019 年 10 月 10 日
...or imagesc()
Assuming your data are in Table format or perhaps TimeTable format and column 1 are in datetime format, you'll just use col 1 as the x values and the rest of the data as the z-value.
meshgrid() can be used to give you the x and y values for each z value.
The level of detail we can provide is limited to the level of detail in the question (which is sparse).
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!