How to specify color shade in bar graph?

2 Ansichten (letzte 30 Tage)
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar am 6 Nov. 2018
Kommentiert: madhan ravi am 6 Nov. 2018
if true
% code
load('Kennfeld1.mat');
bar3(Kennfeld1);
I am trying to plot the graph in bar
but the color shade of it is depending on the values of x and y axis and not the value in a array
how should i avoid it?

Akzeptierte Antwort

madhan ravi
madhan ravi am 6 Nov. 2018
load('Kennfeld1.mat');
bar3(Kennfeld1);
colormap(summer)
  11 Kommentare
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar am 6 Nov. 2018
it is better represnted in bar
isnt it possible in bar to have a color change with z axis?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Colormaps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by