function DualPhotonPlot(photonpairs,newFigure)

if nargin>1
    figure;
end
flippedPhotons(:,2)=-photonpairs(:,1);
flippedPhotons(:,1)=photonpairs(:,2);
flippedPhotons(find(flippedPhotons==0))=NaN;
box('off');
hold('all');


% Create multiple lines using matrix input to stem
photonStem = stem(flippedPhotons);
set(photonStem(2),'MarkerSize',12,'MarkerFaceColor',[0.7569 0.8667 0.7765],...
    'LineStyle','-',...
    'LineWidth',0.2,...
    'Color',[0.1686 0.5059 0.3373],...
    'DisplayName','CSingleStates(1,31).counts(:,1)');
set(photonStem(1),'MarkerSize',15,'MarkerFaceColor',[1 0.949 0.8667],...
    'LineStyle','-',...
    'Color',[0.6 0.2 0],...
    'DisplayName','CSingleStates(1,31).counts(:,2)');
