setting up plotting of cut flow