One Bar graph for different cells

조회 수: 1 (최근 30일)
NETHRAVATHI S
NETHRAVATHI S 2021년 4월 24일
답변: NETHRAVATHI S 2021년 4월 25일
Hello,
I have a code like this
data = cell(4,1) ;
for i = 1:4
data{i} = xlsread(filename,i);
figure
bar3(data{i},'stacked')
xlabel('timeframe')
ylabel('loads')
title('On status of loads before scheduling')
end
When I plot, I am getting 4 graphs for each cell.
Can you tell me, how to put all 4 cells in one graph?
Each cell is of order 24x13.
I have attached the figures I am getting. I have total 4 of this type.
I want to combine all four.

답변 (1개)

NETHRAVATHI S
NETHRAVATHI S 2021년 4월 25일
Not working.
Since I didnt get any solution I changed to subplot

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by