How to plot colorbar in matlab?

Hi,
I am interested to see the colorbar of a column vector, for example: A(6x1)=[1;2;0.01;4;5;6]. Can you please give me some idea how can I do it?
Thanks D Bhuiyan

Respuestas (2)

KL
KL el 13 de Abr. de 2015

0 votos

You should use filled contour plot with legend. Check contourf() and clegendm()

Etiquetas

Preguntada:

el 13 de Abr. de 2015

Respondida:

KL
el 13 de Abr. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by