function PlotData(handles)
% Plot data
axes(handles.pdfaxes)
[y,x]=hist(handles.fitspecs.data,handles.fitspecs.numbins);
% Normalise:
y=y/trapz(x,y);
hold off
bar(x,y,'b')
set(gca,'ytick',[])
hold on
axis tight
tmp = get(gca,'ylim');
mxy = tmp(2);
set(gca,'ylim',[0 1.1*mxy],'ytick',[])



axes(handles.cdfaxes)
hold off
plot(handles.fitspecs.data,[1:handles.fitspecs.ndata]/handles.fitspecs.ndata,'b','linewidth',handles.fitspecs.lw)
hold on

