MATLAB Answers

plot bar graph in the same graph

1 ビュー (過去 30 日間)
Salvatore Mazzarino
Salvatore Mazzarino 2012 年 11 月 7 日
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

  0 件のコメント

Sign in to comment.

回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 11 月 7 日
Plot the two bar graphs together at the same time:
bar([1 2],[1 2;pi exp(1)])

  1 件のコメント

Salvatore Mazzarino
Salvatore Mazzarino 2012 年 11 月 7 日
yeah it worked but I would get this result using gui plot that Matlab provides

Sign in to comment.

タグ


Translated by