I am working on developing drive cycles of a particular city. I have collected raw driving data and processed the data to design a representative drive cycle. I would like to have a comparative study with my developed cycle and other already developed or in use cycles. By literature review, I have understood that Speed Acceleration Frequency Distribution (SAFD) or Speed Acceleration Probability Distribution (SAPD) plots are a widely used way of visualizing the cycles. I am not quite sure how to develop that. I can develop a 2d histogram of the data which works for visual inspection to some extent, but I am unable to calculate a numeric value of SAFD or SAPD which can give me stats like relative error. Need help.