フィルターのクリア

Plot graphs of the data in 3 subplots (3 rows × 1 column)

5 ビュー (過去 30 日間)
zhi cheng
zhi cheng 2022 年 10 月 11 日
コメント済み: dpb 2022 年 10 月 11 日
given a (52560 x 8 double)
the first 5 columns are [ year month day hour minute ] and next 3 columns are different values at the same time.
ask to combine them using datenum() function so that can be used on x-axis, and use datetick(‘x’) to display the x-axis with sensible labels.
then, ask to plot graphs of the data in 3 subplots (3 rows × 1 column)
  2 件のコメント
Dyuman Joshi
Dyuman Joshi 2022 年 10 月 11 日
The language of question statement suggest it is a homework questin/assignment.
Show your code, what you have done and mention what exactly is the problem/error you are facing, so that we can help you rectify/solve whatever is troubling you.
dpb
dpb 2022 年 10 月 11 日
Tagged with R2022a; do NOT use the deprecated datenum and datetick; use the current datetime function instead. One immediate result of such is that plot is now datetime-aware so get the labelling of the axis ticks for free...
Secondly, the tiledlayout has surpassed subplot in a like manner; it is the presently-recommended solution.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Data Plots についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by