How to plot colorbar in matlab?
Ältere Kommentare anzeigen
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
Antworten (2)
Thomas Koelen
am 13 Apr. 2015
a=[1:6];
b=[2 3 4 2 1 3];
bar(a,b)
KL
am 13 Apr. 2015
0 Stimmen
You should use filled contour plot with legend. Check contourf() and clegendm()
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!