# Questions tagged [histograms]

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

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
138 views

### How to get DensityHistogram bins like GeoHistogram bins?

Version 11 introduced GeoHistogram. It creates bins that align the edges with certain shapes. DensityHistogram can also use ...
102 views

### Dynamic evaluation of Histogram

Can someone explain the following behavior exhibited by a combination of SetDelayed, Dynamic and ...
738 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: ...
55 views

### Plot of a histogram is exported with wrong ticks if log-transformed data are used

I've generated a histogram of my data, using their log values, and exported the resulting plot as pdf. To my surprise, the ticks in exported plot were replaced by the logarithm of the ticks in the ...
189 views

### How to create 2D ImageHistogram?

Using ImageHistogram I can find the frequency of each color value in an image. Applying the same, I can have a histogram of its gradient values. I wish to combine these two on a log scale such that X -...
33 views

### Quantifying the similarity/difference of two probability histograms in Mathematica

I am trying to estimate the similarity/overlap or conversely the difference between two probability histograms in Mathematica. There are two built-in measures I have discovered in Mathematica, namely ...
42 views

### Getting a PDF from a NonlinearFitModel

With the help of @JimB, I could fit some experimental data with a CDF using NonLinearFitModel. The set of data is the following: ...
71 views

### Can I make the z-axis on the SmoothHistogram3D output show quantity rather than probability?

In SmoothHistogram3D, the x- and y-axes are in the form of the original input; 0 maps to 0 and 1 maps to 1, etc. However, the z-axis returns a probability rather ...
137 views

### Histogram - large data set

Hi everyone I have various text files that contain a large number of data points that have a broad range from negative to positive and even numbers that are small on the order of 10^-3 all the way to ...
318 views

### Difference of ImageHistogram and Histogram of gray scale image

I have a gray scale image showing noise and would like to plot the histogram. The image is: A. When I use ImageHistogram I get the histogram with: ...
238 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 ...
116 views

### Automatically sizing elements in a DistributionChart with custom ChartElementFunction

This is a follow-up to some related questions: 46770 and 60600. I'd like to make a DistributionChart where the elements are histograms with my own custom settings. ...
486 views

### Problems with log-log histograms

I'm using a custom function to create Log-Log Histograms of my data. It uses the CustomTicks` package (in LevelScheme, http://scidraw.nd.edu/levelscheme/) to display Log Ticks. ...
39 views

### DensityHistogram only returns a gray box

I have a complex Mathematica workbook that I've been using to read in binary files, create coincidences, perform an energy calibration, and final produce some coincidence analysis. The original ...
40 views

### How Do I can Generate a CDF Plot from Below PDF code and also it Histogram Plot?

I have tried many times to plot a CDF from the following PDF code , But I failed to get that however I have used the command CumulantGeneratingfunction[, ] but it coudn't work , any Help ?and also the ...
32 views

### Making a histogram of a dictionary

I am trying to make a histogram of the dictionary where each bin is how many characters in a word, and the height is the frequency of words with that many characters. I'd like to make one for the ...
42 views

### Histogram doesn't show all bins

I have data that runs from values of 0 all the way to 40000. When I plot the histogram of this data using the Histogram[] command I get this: I've split the data up into those that are below 1500 ...
115 views

### Error Histogram of a Neural Network

Can you plot the error histogram of a trained network (with test, train and validation sets if possible but one would be enough)? Matlab Easily does that for you but I could not find a function that ...
43 views

### Specify legend inside histogram plot

I am trying to place a legend inside a histogram plot, but Placed["label",{x,y}] as an option in ChartLegends does not seem to work in the histogram environment. Is ...
45 views

### How can I fit my histogram with appropriate distribution?

I got this list: ...
98 views

### Mixture distribution fitting containing a uniform distribution

I have a dataset that is clearly the mixture of 3 known distributions which can be generated as follows: ...
76 views

### Plot moments as a function of bin size?

I need to plot moments of a distribution as a function of bin size to show whether or not the tails of this data set are Gaussian. My data is in [pastebin.com/nzCs5BwE.] Here is how I've plotted ...