Virgil Stokes
2015-04-24 10:33:59 UTC
I have some Python (2.7.9) code that processes some rather large data sets to
determine the curvatures along 2D curves. One feature of these data that I like
to look at is the distribution of the curvatures. I use NumPy to to determine
histograms for each set, and save the histogram parameters returned from
numpy.histogram in a file.
I would like to use Matplotlib to plot histograms *from the parameters returned
in NumPy* and stored in a file --- why? Because the size of my data sets does
not allow for the use of the histogram plot function in Matplotlib (1.4.3);
i.e., it needs the data sets to calculate the histogram, before doing the plot.
I would like to have a histogram plot function in Matplotlib that could bypass
the actual calculation of the bin counts and edges from the data, and use values
of these found /a priori/. Of course, an obvious question is -- Why not write
code to plot the rectangles yourself? Yes, I could do this; but, why not extend
the Matplotlib histogram class to allow for this option? If I better understood
Matplotlib, I would try this myself. Maybe it is possible to get this into the
next planned release (1.5).:-)
If this request is inappropriate for this list, then please accept my apology
and direct me to where I should send this request.
Best regards.
determine the curvatures along 2D curves. One feature of these data that I like
to look at is the distribution of the curvatures. I use NumPy to to determine
histograms for each set, and save the histogram parameters returned from
numpy.histogram in a file.
I would like to use Matplotlib to plot histograms *from the parameters returned
in NumPy* and stored in a file --- why? Because the size of my data sets does
not allow for the use of the histogram plot function in Matplotlib (1.4.3);
i.e., it needs the data sets to calculate the histogram, before doing the plot.
I would like to have a histogram plot function in Matplotlib that could bypass
the actual calculation of the bin counts and edges from the data, and use values
of these found /a priori/. Of course, an obvious question is -- Why not write
code to plot the rectangles yourself? Yes, I could do this; but, why not extend
the Matplotlib histogram class to allow for this option? If I better understood
Matplotlib, I would try this myself. Maybe it is possible to get this into the
next planned release (1.5).:-)
If this request is inappropriate for this list, then please accept my apology
and direct me to where I should send this request.
Best regards.