plot bar graph in the same graph

조회 수: 2 (최근 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

답변 (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

댓글을 달려면 로그인하십시오.


Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기


Community Treasure Hunt

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

Start Hunting!

Translated by