|
From: pieter c. <pi...@cl...> - 2005-02-02 14:03:44
|
Andre, comments inline. ... > > So let us start with the data. What kind of data you have in the > beginning? You kind of collected the histogram data before you start > with PyX, don't you? We could start with that, but we don't need to. > In principle it would be possible to calculate the histogram out of > some scattered data points *within* the graph style. I'm just not > sure whether this would be a good idea or not ... my data is obtained by running a number of simultions (100 to 1000000) and to record a time result of each simulation (0 to 200). I then process the data by grouping values into descrete intervals (between 5 and 10 seconds each). The result is thus a list of the following format [[interval[0],value[0]],[interval[1],value[1],.....[interval[n],value[n]] e.g. [[0,0],[5,0],[10,0].......[95,55],[100,45]] here are some use cases 1. Top plot this data so that it can be seen that there were 55 trips that took 95 minutes and 45 minutes that took 100 minutes. 2. To show that the distribution of the results are mostly on the high end. To recap the current problem: When this large number of data points are plotted on a bar graph, the x-axis labels overwrite each other. Current suggested solution: ?? Any suggestions on how to proceed? Cheers, Pieter |