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
8
votes
0answers
140 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 ...
5
votes
0answers
106 views

Dynamic evaluation of Histogram

Can someone explain the following behavior exhibited by a combination of SetDelayed, Dynamic and ...
3
votes
0answers
757 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: ...
2
votes
0answers
56 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 ...
2
votes
0answers
194 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 -...
1
vote
0answers
36 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 ...
1
vote
0answers
43 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: ...
1
vote
0answers
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 ...
1
vote
0answers
140 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 ...
1
vote
0answers
319 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: ...
1
vote
0answers
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 ...
1
vote
0answers
117 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. ...
1
vote
0answers
488 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. ...
0
votes
0answers
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 ...
0
votes
0answers
43 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 ...
0
votes
0answers
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 ...
0
votes
0answers
63 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 ...
0
votes
0answers
129 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 ...
0
votes
0answers
49 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 ...
0
votes
0answers
45 views

How can I fit my histogram with appropriate distribution?

I got this list: ...
0
votes
0answers
101 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: ...
0
votes
0answers
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.][1] Here is how I've plotted ...
0
votes
0answers
55 views

Assign observations into classes using Sturges rule

I have a list of 562 observations that I would like to assign to classes (bins) using Sturges rule. What is the best way to implement this in Mathematica?
-2
votes
1answer
426 views

How to get data from Histogram (HistogramList) for making plot?

I have a data I need to calculate the probability of the second column of my data in different bins and then getting(-LOG) from this probability and plot with the each bin related to it. my data is ...