function rung_plotterrung_plotter(meanbefore,meanafter,confbefore,confafter,casecolor,x_offset)

meanlinewidth=2.5;
meanmarkersize=7;
conflinewidth=2.5;

hold on
plot([1+x_offset 2+x_offset],[meanbefore meanafter],'-s','color',casecolor,'markeredgecolor',casecolor,'markerfacecolor',casecolor,'linewidth',meanlinewidth,'markersize',meanmarkersize);
plot([1+x_offset 1+x_offset],[meanbefore-confbefore meanbefore+confbefore],'color',casecolor,'linewidth',conflinewidth)
plot([2+x_offset 2+x_offset],[meanafter-confafter meanafter+confafter],'color',casecolor,'linewidth',conflinewidth)

xlim([0.5 2.5])
set(gca,'xtick',[])