How to overlay bar3 plots
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anthony Sigillito
le 22 Mai 2020
Commenté : Anthony Sigillito
le 26 Mai 2020
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 commentaires
Réponse acceptée
Ameer Hamza
le 22 Mai 2020
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;
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!