From: Jeff on
I'm attempting to two sets of data on the same graph using a bar graph. The X-axis data is the same while the Y-axis data is different. All data contains the same number of data points. My problem is that the following code only displays the final bar graph. Any help would be greatly appreciated. Oh, I am doing this via a GUI with an axes widget.

bar(handles.patdataplot, pd.beamid, pd.mupdiff);
hold on;
bar(handles.patdataplot, pd.beamid, pd.mupdabovecutoff);
bar(handles.patdataplot, pd.beamid, pd.mupdbelowcutoff);
hold off;
From: Jeff on
Just found the solution. Instead of using

hold on;

I needed to use

hold(handle,'on');

Thanks anyway.