%%function line=chplot(data,binsize,sigma,str);
%%By Joakim Lindblad 2000-01-25
function line=chplot(data,binsize,sigma,str);

[n,x]=chist(data,x_interval(data,binsize),sigma);
line=plot(x,n,str);

