Pcolor plot question. gradational color change.
Show older comments
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
Answers (1)
KSSV
on 20 Aug 2022
x = 1:20 ;
y = TIME ; % 81x1 array
Z = Y ; % 81x20 array
pcolor(x,y,Z) ; % if required transpose Z
Categories
Find more on ROI-Based Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!