Issue in ploting a bar graph using for loop
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
jeffin
el 24 de Nov. de 2018
Respondida: jeffin
el 24 de Nov. de 2018
i need to plot a bar graph for set of values. i have used for loop.
for
....
plot(ss,meanDiffX);
xlabel('Tiempo (ms)'); ylabel('Variables');
...
end
![untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196391/untitled.png)
I am not getting any errors. But my output figure is blank.
I am expecting a figure in this pattern.
![untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196393/untitled.png)
Help me where am i missing. Thanks in advance.
5 comentarios
madhan ravi
el 24 de Nov. de 2018
so put it in answer section and accept the answer so that people having the same question will find the answer
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!