plotyyy: third plot as bar
2 views (last 30 days)
Joseph Cheng on 9 Feb 2016
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.