How do I limit plotting the values from a row variable say time?
Mostrar comentarios más antiguos
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
Respuestas (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 comentarios
Tunde Adubi
el 27 de Jun. de 2022
Editada: Tunde Adubi
el 27 de Jun. de 2022
KSSV
el 28 de Jun. de 2022
What are dimensions of xtime, rng and zh?
Tunde Adubi
el 28 de Jun. de 2022
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
