How do I limit plotting the values from a row variable say time?
古いコメントを表示
I want to make a plot with the time for 41665 values only. How do I achieve this?
figure('position',[50 100 1400 400])
pcolor(datenum(time),rng,zh)
datetick('x')
shading flat
回答 (1 件)
Z = peaks(30) ;
x = datetime(2022,01,01):datetime(2022,01,30) ; % datetime class
y = 1:30 ;
pcolor(x,y,Z)
shading flat
3 件のコメント
Tunde Adubi
2022 年 6 月 27 日
編集済み: Tunde Adubi
2022 年 6 月 27 日
KSSV
2022 年 6 月 28 日
What are dimensions of xtime, rng and zh?
Tunde Adubi
2022 年 6 月 28 日
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
