3D Bar on long data
7 ビュー (過去 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!