How to specify color shade in bar graph?

조회 수: 2 (최근 30일)
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar 2018년 11월 6일
댓글: madhan ravi 2018년 11월 6일
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?

채택된 답변

madhan ravi
madhan ravi 2018년 11월 6일
load('Kennfeld1.mat');
bar3(Kennfeld1);
colormap(summer)
  댓글 수: 11
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar 2018년 11월 6일
it is better represnted in bar
isnt it possible in bar to have a color change with z axis?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by