New histogram type
Brought to you by:
mrnolta
I wrote a new histogram type that I needed to plot spectroscopic
lines. Instead of providing the first value and the differences
between two values, one provide the y and the x values, so the
sampling can be irregular. Another difference is that the histogram
does not go to zero on both sides.
I was not very inspired to find a name for this, so I called it
Histogram1.
Here is the patch and an example program. I don't know if it can
be usefull for others.
Logged In: YES
user_id=842097
Originator: YES
Indeed it is probably better to add a xvalues parameter to Histogram. This is what the attached patch does. I've also modified example3.py to illustrate this.
File Added: histogram.patch