Pcolor plot question. gradational color change.
Afficher commentaires plus anciens
I have Time X ( 81 x 1 ) and Y ( 81 x 20 )
Y is a some value at the time X, with coefficient from 1 ~ 20.
when I plot (X,Y) , the result is like below figure.

Can I make a pcolor plot using a different coefficient as a Z value (1~20) ?
I want draw figure with poligonized gradational color change, not with the multiple lines
Réponses (1)
KSSV
le 20 Août 2022
x = 1:20 ;
y = TIME ; % 81x1 array
Z = Y ; % 81x20 array
pcolor(x,y,Z) ; % if required transpose Z
Catégories
En savoir plus sur ROI-Based Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!