Tag for questions about building histograms in Mathematica. Apart from generating the graphics, and prettifying them, this also includes methods to extract their data.
7
votes
1answer
224 views
Mathematica: Retrieving PlotRange from Histogram
I know that one can retrieve PlotRange of a plot by using
AbsoluteOptions[plot,PlotRange]
but that won't work on Histogram. Here an example:
...
3
votes
1answer
131 views
How can I have an axis label automatically positioned below the X-axis?
I'm attempting to generate some histograms, and I'd like to automatically label the X-axis. However, Histogram[. . ., AxesLabel -> {"X", "Y"}] places the "X" ...
10
votes
1answer
550 views
Make a density list plot/histogram from large, pre-binned data set?
I have a large data set consisting of $\mathcal{O}(10^9)$ two-dimensional points. In order to save memory and time I have pre-binned these into a uniform grid of $500 \times 500$ bins using Fortran. ...
11
votes
4answers
207 views
Background Shading in Histogram3D
I am preparing some data for dissemination. I have a series of plots that look like so, using ListLinePlot:
The background shading is just being added using ...
8
votes
2answers
396 views
ColorFunction in Histogram[]
Let's say I have a Histogram:
Histogram[RandomVariate[NormalDistribution[10, 2], 500]]
and I want the bars positioned to ...
4
votes
2answers
1k views
Calculate mean and standard deviation from ImageHistogram
I am doing my PhD in Clinical Neuropsychology; I had someone helping me analyse images (.jpg pictures) in Mathematica, but it turns out this person made some really bad decisions, and well, now I have ...
3
votes
2answers
274 views
How to rebuild original data from a histogram?
I have data in form
list of values ex. {5,7,4}
list of frequecies ex. {1,2,3}
I would like to obtain the original data from which such a histogram was generated
ex. {5,7,7,4,4,4}
3
votes
2answers
301 views
Add two Histograms to calculate summed Mean and StandardDeviation
As a follow up to this question: Calculate mean and standard deviation from ImageHistogram
I would like to add two histograms before calculating the mean and StDev. I would like to sum the numbers, ...
2
votes
1answer
146 views
Misaligned DensityHistogram, DistributionAxes & PlotRange
data = RandomReal[NormalDistribution[0.5, 0.1], {10000, 2}];
DensityHistogram[data, PlotRange -> 1, Method -> {"DistributionAxes" -> "Histogram"}]
The ...