plotyyy: third plot as bar
조회 수: 4 (최근 30일)
이전 댓글 표시
Hey to everyone,
is it possible for the plotyyy-function to have the third plot as a bar? I don't know how to solve the problem.
I would be pleased if somebody can give me an idea.
댓글 수: 0
답변 (1개)
Joseph Cheng
2016년 2월 9일
quickest and easiest way would be to edit the plotyy line of the graph to be
[ax,hlines(1),hlines(2)] = plotyy(x1,y1,x2,y2,'bar','plot'); %≈line 45 (?)
and the first xy entry will be the the bar chart.
댓글 수: 2
Joseph Cheng
2016년 2월 9일
편집: Joseph Cheng
2016년 2월 9일
look at my comment. you'd have to change the plotyyy() function code around line 45. maybe change and resave the function as barplotplot().
참고 항목
카테고리
Help Center 및 File Exchange에서 Two y-axis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!