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!
