Pcolor plot question. gradational color change.
Mostrar comentarios más antiguos
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
Respuestas (1)
KSSV
el 20 de Ag. de 2022
x = 1:20 ;
y = TIME ; % 81x1 array
Z = Y ; % 81x20 array
pcolor(x,y,Z) ; % if required transpose Z
Categorías
Más información sobre ROI-Based Processing 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!