3D Bar on long data
조회 수: 2 (최근 30일)
이전 댓글 표시
I tried to plot 3d bar plot on long data, I am getting an empty figure:
data=5000x3; % data matrix
Y=[2 4 6]; % The positions of bars along the y axis
hBar = bar3(Y, data'); % Create the bar graph
댓글 수: 0
답변 (1개)
Ankitha Kollegal Arjun
2017년 7월 24일
I get the attached figure when I execute the following snippet of code:
data = randi(5000,3);
y = [2 4 6];
hbar = bar3(y,data');
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!