Filter löschen
Filter löschen

3D multiple bars plot

1 Ansicht (letzte 30 Tage)
Muhammad Usama
Muhammad Usama am 23 Jan. 2019
Beantwortet: Luna am 23 Jan. 2019
Capture.PNG
These bars are plotes for a perameter say a = 0, and I want to drawa other bars with a = 1. is there any way to add similar bars in the third direction behind these bars?

Antworten (1)

Luna
Luna am 23 Jan. 2019
Use bar3 function. Read more about: bar3
A = randi(10,5,3);
figure;
hBar = bar3(A,'grouped');

Community Treasure Hunt

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

Start Hunting!

Translated by