How to plot colorbar in matlab?

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

 Respuesta aceptada

KSSV
KSSV el 1 de Jun. de 2022
pcolor(x,y,Z)
colorbar

Más respuestas (0)

Categorías

Más información sobre Color and Styling en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Jun. de 2022

Comentada:

el 1 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by