
overlapped bar charts up and down
    1 visualización (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I would like to plot a bar chart for data [2,3,4,5] and [-3,-2,-1,-4] on up and down as attached.
0 comentarios
Respuestas (1)
  dpb
      
      
 el 19 de Abr. de 2017
        See if one of the following is what you're looking for...
subplot(3,1,1),bar(data)
subplot(3,1,2),bar(data.')
subplot(3,1,3),bar(data(:,1),0.3)
hold on
bar(data(:,2),0.3,'facecolor','y')
results in

Choose your poison...
0 comentarios
Ver también
Categorías
				Más información sobre Bar 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!

