Borrar filtros
Borrar filtros

3D multiple bars plot

1 visualización (últimos 30 días)
Muhammad Usama
Muhammad Usama el 23 de En. de 2019
Respondida: Luna el 23 de En. de 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?

Respuestas (1)

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by