Borrar filtros
Borrar filtros

3D Bar on long data

5 visualizaciones (últimos 30 días)
Bruno
Bruno el 21 de Jul. de 2017
Comentada: Bruno el 24 de Jul. de 2017
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

Respuestas (1)

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun el 24 de Jul. de 2017
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');
  1 comentario
Bruno
Bruno el 24 de Jul. de 2017
Thanks, for your answer, I resolved the problem: I specified the Axis limits and scaling.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by