Tag for questions about building histograms in Mathematica. Apart from generating the graphics, and prettifying them, this also includes methods to extract their data.

learn more… | top users | synonyms

3
votes
2answers
95 views

Vertical Line in Histogram [closed]

I created a histogram of my data. This was working fine. plotbootstrap = Histogram[data, 30] I now also want to add a vertical line for a certain $x$ value (here ...
3
votes
1answer
179 views

How to normalise a line in mathematica

I'm working on creating a line plot from a histogram, as in the following: ...
2
votes
1answer
273 views

Histograms of gray scale images

I have a large set of subsequent 8bit gray scale png images (50 Hz). They show the noise of a CMOS camera, with the lens covered. A subset of 50 images is available here: https://goo.gl/Sa3P9P I ...
1
vote
0answers
117 views

Making a histogram with a log scale

Sorry for my poor english. I am really new in Mathematica. I have a data set and plot it in histogram, The whole script is following: ...
1
vote
2answers
142 views

How to do a parametric histogram?

Is it possible to draw a spectral histogram from two random sets ? More specifically, I have these two random functions (fmin, ...
0
votes
1answer
171 views

How to obtain an approximate function for SmoothHistogram3D?

I have a random distribution of points in the $x\!-\!y$ plane. I can obtain a graphical representation of the probability distribution function using ...
3
votes
2answers
60 views

DateListPlot from DateHistogram

How do I draw a DateListPlot from the bin height and bin middle position? I have a series of time events from which I calculate DateHistogram, but I want to represent the result through a kind ...
1
vote
0answers
46 views

Problem with making a histogram [closed]

I have written code that simulates a M/M/1 queue system. ...
0
votes
0answers
137 views

Comparing heavy tailed and non-heavy tailed distribution using Mathematica

I have data from a heavy tailed distribution (see picture 1) and a non-heavy tailed distribution (see picture 2) and want to compare it using a histogram on log-scale. However the picture 3 does not ...
2
votes
2answers
139 views

Best way to include a “singularity” in a SmoothHistogram?

I have a dataset like this: data = {0,0,1.1,1.3,0,0,3.4,0,0,2.3,0,0 .....} You can imagine that data is generated from a ...
1
vote
1answer
139 views

Setting `ChartLabels` in a histogram

I have two data sets that I use to build a histogram in the following code: ...
1
vote
2answers
59 views

Histogram plot for fixed class interval

Age Size of Kidney 0-20 8.5 20-40 9.2 40-60 10.4 60-80 9.3 80-100 8.9 The above data gives the average size of the kidney for the people of age ...
9
votes
1answer
337 views

Is there a way to make a bihistogram plot?

Is there a way of making a bihistogram plot in mathematica? There is a reference to it at http://mathworld.wolfram.com/Bihistogram.html but no suggestions as to how to do it.
6
votes
2answers
135 views

Bar chart scale in multi-chart visualisation

This is a rewording of a previous question which probably wasn't very well explained, and so didn't get any responses(!). I'm trying to create a chart which shows the smooth kernel distribution of ...
5
votes
3answers
339 views

Box plot combined with histogram and normal curve

Please forgive me if this is a relatively simple thing to do, but I'm relatively new to Mathematica and I've only recently started using it to visualise some statistics for my PhD work (I'm a linguist ...
4
votes
1answer
94 views

Small output glitch with Histogram

I'm experiencing a small formating glitch with an histogram. I want to define an histogram with a square frame, with precise vertical ticks from 0 to 10. But I'm still getting a larger range, and I ...
1
vote
1answer
66 views

Distribution of max of partial sums of normal distributions

I was surprised not to find this question already answered: if I take the maximum of the partial sums of n normal distributions, what is the resulting ...
5
votes
3answers
915 views

Analyzing frequency of individual letters in a large body of text

There are interesting histograms about the English language: BarChart[Counts[StringTake[WordList[], 1]], ChartLabels -> Automatic] ...
2
votes
2answers
117 views

Histogram distribution

Imagine the following data: data = {-0.7, -0.5, -0.2, 0.1, 0.4, 0.5, 0.9, 1.1, 1.2, 1.3, 1.5, 2.1} From that I make a ...
3
votes
2answers
1k views

Histogram with a logarithmic scale for the y-axis

How can I get a histogram with a logarithmic scale only on the the y-axis? With ...
4
votes
2answers
229 views

Mysterious behaviour of ParallelTable

This question is related to Export bug in combination with ParallelTable?. The following code shows an even stranger bug than in the upper question. The y-axis should always be logarithmic, but in ...
5
votes
3answers
100 views

Histogram with the smaller bar in front

I am trying to visualise multiple data sets in one histogram. When using one or two datasets, the automatic transparency of the bars keeps everything relatively easy to see. When going to three or ...
1
vote
1answer
59 views

Separation of output [duplicate]

I have solved two equations with two unknowns and confined my answer in just ten answers. The unknowns are n and k, and I want ...
1
vote
0answers
104 views

Horizontal histogram axis and ticks positioning [closed]

My data consists of two lists of numbers between -0.1 and 1. I would like to show them on two horizontal histograms, with a thickened x-axis. I have managed to make the first histogram look exactly ...
1
vote
2answers
165 views
3
votes
1answer
141 views

Random Variate generating strange results when using ProbabilityDistribution

I have created a probability distribution that follows a general normal distribution, given by: $$ \frac{b *e^{-\left(\frac{\sqrt{(x-u )^2}}{a }\right)^{b }}}{2 a \Gamma \left(\frac{1}{b }\right)} $$...
1
vote
1answer
78 views
2
votes
2answers
81 views

Easy way to create an histogram with given heights? [closed]

What is the easiest way to create an histogram with the heights of each bin already determined? I read all the support page on histograms but I don't understand if there is a way to create an ...
3
votes
2answers
77 views

Thickness of bars in a histogram

How can I control the thickness of the bars (here vertical lines) in a Histogram plot? For example in the plot below (of the corresponding image: http://goo.gl/...
1
vote
1answer
127 views
3
votes
1answer
119 views

ImageHistogram with logarithmic y scale

ImageHistogram is much faster than Histogram with ImageData. The only problem: I cannot ...
3
votes
5answers
198 views

Histogram from relative frequency data;

I've got a data set similar to the first and fourth column of this table http://mathworld.wolfram.com/FrequencyDistribution.html where the first column is the midpoint of a fixed range of values (...
7
votes
2answers
126 views

How to generate a Log BarLegend for a DensityHistogram

I have a Log count histogram: DensityHistogram[myData, 100, {"Log", "Count"}, ColorFunction -> "Rainbow", ChartLegends -> Automatic] But ...
1
vote
1answer
57 views

Histogram “PDF” - Workaround for chopped y axis [closed]

My question is about finding a workaround and/or setting of parameters for a problem with the Histogram function and the "PDF" option. This problem occurs when I use Mathematica (Wolfram Cloud ...
1
vote
3answers
98 views

Polar histogram and bins

I have a list of polar coordinate points: list = Transpose[Join[RandomReal[{1, 60}, {1, 100}], RandomReal[{0, 2 Pi}, {1, 100}]]] I need to divide the ...
2
votes
1answer
52 views

How to make custom frame ticks for a Histogram3D plot

I've generated a 3D histogram using the Histogram3D function and I would like to specify the frame ticks. That is, I would like to make custom labels and locations for the rows, columns, and/or ...
5
votes
3answers
376 views

Histogram of a very large dataset?

I have a very large dataset stored in a file (over 2GB). The file contains a tab-separated table of floating-point numbers. I want to do an Histogram of all the numbers in the table. But if I try to ...
14
votes
3answers
386 views

Histogram3D with various colors and textures on cuboids' faces

I'm trying to produce an Histogram3D-like graph, but with a little more customization. In particular I want to manually specify the color of each cuboid and to print some information on the top faces....
4
votes
1answer
178 views

spherical histogram for 3D object

I want to develop a shperical histogram for 3D object. Given a 3D object, I put it in a cylinder where its axis pass through the centroid of the object. The cylinder is sampled into a number N of ...
1
vote
1answer
119 views

Plotting probabilistic histogram on a specific range on log scale

I'm having a problem getting a combined effect - I have a list of values for which I'd like to plot a histogram. As a minimal example: ...
0
votes
1answer
123 views

Plotting two variables indirectly dependent on each other

I have the following system of linear ODEs for "i" number of species "c" migrating in "j" number of habitats: ...
3
votes
1answer
199 views

How to normalize histogram height to unity?

When doing Histogram[data], I get the total nummber of counts in each bin. Doing Histogram[data,Automatic,"Probability"] ...
0
votes
1answer
154 views

What happened with good old Histogram?

For the sake of demonstration in a class I wanted to use the line: Histogram[Accumulate[RandomReal[{-1, 1}, 100000]], {1}, "Probability"] to get a probability-...
6
votes
2answers
159 views

Scale SmoothHistogram curve to Histogram

Like in this question, I would like to display a histogram and a smooth histogram in the same plot. I believe the default “bin height specification” (or $\textit{hspec}$) for ...
1
vote
0answers
69 views

What is the meaning of the Legend values for DensityHistogram and SmoothDensityHistogram? [closed]

I generate some random 2D data points, then look at the histogram in three different ways. ...
5
votes
1answer
91 views

Remove Tick Marks without removing Numbers on Paired Histogram

I have formatting problem that I can't figure out. I'm trying to remove the tick marks on a paired histogram without removing the numbers. The trick with other plots is to make the opacity of the ...
0
votes
2answers
140 views

How to make an Histogram where the data are strings? [duplicate]

Histogram[{3, 3, 2, 2, 2, 2, 2, 1, 1}] works great to give you an histogram in which mathematica counts the occurence of each number and makes the plot. Is there a ...
6
votes
3answers
1k views

Log-log scale smooth histogram

How can I create a smooth histogram with a log-log scale? I can use Histogram[data, "Log", "LogCount"] to get a log-log histogram, or I can use ...