Menu

#1 New histogram type

open
nobody
None
5
2004-12-30
2004-12-30
No

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.

Discussion

  • Sebastien Maret

    Sebastien Maret - 2007-06-20
     
  • Sebastien Maret

    Sebastien Maret - 2007-06-20

    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

     

Log in to post a comment.

MongoDB Logo MongoDB