How to overlay bar3 plots
2 ビュー (過去 30 日間)
古いコメントを表示
Anthony Sigillito
2020 年 5 月 22 日
コメント済み: Anthony Sigillito
2020 年 5 月 26 日
Is there a good way to overlay two bar3 plots? I would like to plot a matrix using bar3 but then compare that to another matrix with generally larger values. I imagine overlaying a wireframe of the bar3 matrix with the larger values and having a solid color bar3 plot underlaid.
0 件のコメント
採用された回答
Ameer Hamza
2020 年 5 月 22 日
Something like this?
x = rand(1,10);
y = rand(1,10);
figure
b1 = bar3(x, 'r');
hold on;
b2 = bar3(y, 'b');
b1.FaceAlpha = 0.5;
b2.FaceAlpha = 0.5;
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!