Graphical method for the analysis of bubble chamber pictures