How to plot colorbar in matlab?

1 view (last 30 days)
aleena n a
aleena n a on 1 Jun 2022
Commented: aleena n a on 1 Jun 2022
Hello,
I have x,y and z data. The Z represents the colorbar it is (20*29) matrix. X and y are vectors. How to plot a colorbar with given x,y and z data?
Thanks in advance.
Thanks and regards,
Aleena N A

Accepted Answer

KSSV
KSSV on 1 Jun 2022
pcolor(x,y,Z)
colorbar

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!