function generalized_rung_plotter(mean_values,upper_limits,lower_limits,clr,x_offset)
%description: plots the mean and sem (symmetric or asymmetric) of any number of groups with a slight staggering for visibility provided by x_offset
%called by: analyze_and_plot_mean_responses, analyze_history_dependence, simple_sd_solutions
%calls: [no custom functions]
%notes:
%code confirmed date: oct 8, 2009

%parameters for data display
meanlinewidth=2.5;
meanmarkersize=7;
conflinewidth=2.5;

num_groups=length(mean_values);
hold on,xlim([0.5 num_groups+.5]),set(gca,'xtick',[])

plot([1:num_groups]+x_offset,mean_values,'-s','color',clr,'markeredgecolor',clr,'markerfacecolor',clr,'linewidth',meanlinewidth,'markersize',meanmarkersize);
for gruppe=1:num_groups
    plot([gruppe+x_offset gruppe+x_offset],[lower_limits(gruppe) upper_limits(gruppe)],'color',clr,'linewidth',conflinewidth)
end