plot bar graph in the same graph

2 visualizaciones (últimos 30 días)
Salvatore Mazzarino
Salvatore Mazzarino el 7 de Nov. de 2012
I have a bar graph. I would plot in the same bar graph another bar graph with excatly the same values without overriding the existing graph but plotting it together using different colors. What it happens when I replot the same graph it is I get the existing graph overrided by the newest

Respuestas (1)

Sean de Wolski
Sean de Wolski el 7 de Nov. de 2012
Plot the two bar graphs together at the same time:
bar([1 2],[1 2;pi exp(1)])
  1 comentario
Salvatore Mazzarino
Salvatore Mazzarino el 7 de Nov. de 2012
yeah it worked but I would get this result using gui plot that Matlab provides

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by