# Tagged Questions

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

93 views

### How to get the number of entries of histograms in the legend?

I plot three histograms (originating from a large Dataset ds) in one graph ...
157 views

### Custom SmoothHistogram3D

I decided to make my own SmoothHistogram3D function because I wanted to be able to specify my own bin sizes and not rely on their distribution functions so taking a cue from this answer and bringing ...
97 views

### How can I turn off generation of Dynamic elements by Histogram?

By default Histogram generates Graphics expression with embedded Dynamic constructs as can ...
237 views

### How to extract the bin width from a Histogram made with an automatic binning method?

I am using the Scott binning method with Histogram and Histogram3D to plot some data. How could I find out the bin width chosen ...
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 ...
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 ...
191 views

### How to make a cumulative time plot?

So I'm working with this data set where there is just one input(a date and time) per line in a .csv file. I've let Mathematica understand the input using "DateStringFormat". The time looks like Year-...
355 views

### How to compute a discrete histogram of a list [duplicate]

I'm trying to compute the discrete histogram of a set of values. By histogram I mean the absolute frequency a value appears on the dataset, by discrete I mean the values are from a discrete set, e.g. ...
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 ...
150 views

### Histogram scale error when using DistributionChart

I'm a novice Mathematica user that is having some problems using the HistogramDensity function in a DistributionChart. My observations are heavily skewed to one category and the height of the other ...
535 views

### Combining Histogram and SmoothHistogram

How can we draw Histogram and SmoothHistogram together for two data sets?. I'd like to show the first data set using ...
165 views

### How to create a custom histogram (normalized)

Let's create some sample data ...
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 ...
225 views

### Analyzing Betting (Keno) in Mathematica [closed]

Keno is a popular lottery game that is available with all of the larger casino softwares. The player is given a ticket with 70 numbers on it. He picks 1 to 11 numbers on the ticket. 20 winning numbers ...
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 ...
318 views

### Exporting SmoothHistogram plot data

My program produces a large data set, which is distributed by some unknown function. I've used SmoothHistogram to visualise it crudely as a probability distribution ...
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 ...
127 views

### Controlling plot range of histogram

I tried the following code: ...
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 ...
253 views

### Bincounting a list

I'm a Mathematica novice here. I'm trying to execute the following code to add random 1's into a zero matrix, repeat this many times, and then bin/histogram the number of nearest neighbor 1s. Can ...
752 views

### Probability density histogram with unequal bin widths

I am confused by output of Histogram and HistogramList for probability density ("PDF") when ...
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 ...
78 views

### Plot Histogram and CDF on the Same Chart

I have this data and plotted the histogram and CDF: ...
208 views

### How to create a vertical (smooth) Histogram on the y-axis of a function graph for an uncertain x?

This is my first time posting a question in StackExchange. I have encountered a certain problem and I can't seem too find a solution. Just a word of caution, I am kind of an amateur when it comes to ...
48 views

### Histogram and Random Lists [closed]

Suppose I have the following list listrand of random numbers from RandomReal[-30,30] (where the size of the list is 40). Is ...
210 views

### Creating histograms with specified mean and intervals

I have a set of data that I want to create a histogram for. The thing is, I would like to set the center of the histogram to the mean of the dataset and the intervals to be the standard deviation. How ...
168 views

### Histogram 3D: use different bin width in two directions

I'm trying to plot an histogram of a set of data, I would like to use a bin of different width in x and y direction. I've tried using the following two codes: ...
68 views

### How do I plot 3 (x,y,value) on a Histogram3D[] function?

I have been trying to plot data using the Histogram3D function but I've had no luck, in excel I have x, y and a value I want to plot for each pair, do I have to save this as a data file first? I have ...
144 views

### Country density plot of lines (highways)

I love solution from question (histogram as well as distrubution) http://mathematica.stackexchange.com/questions/31948/show-density-plot-on-us-map#=. But both cases are a bit more difficult in my ...
156 views

### Histogram from a list of matrices

I have a list of around 100 matrices, that looks like this ...
238 views

### SmoothDensityHistogram with logarithmic density

Is there a simple way for making SmoothDensityHistogram plots have logarithmic scaling for the density? With DensityHistogram it'...
578 views

### Export data of a 3D histogram

I want to export the data of a three dimensional histogram in the format # x y z with a blank line between different lines, so that one can plot the ...
865 views

### Make a histogram by giving the range and height of each bin one by one

I got the data of each bin by measurements like {start, end, height} and I want something like this picture: http://tinypic.com/view.php?pic=2i208hs&s=5 I ...
1k views

### Plot and Histogram together in Mathematica 7

I want to draw a histogram and some line plots together. I have one observed variable and several predicted ones. Observed data should be shown as a histogram and the predicted variables should be ...
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: ...
99 views

### How can I plot a 3D graph that shows how a histogram varies with a particular parameter?

How can I plot a 3D graph that shows how a histogram varies with a particular parameter? A simple example of this would be plotting a histogram of data described by a gaussian. The gaussian is of ...
139 views

### Setting ChartLabels in a histogram

I have two data sets that I use to build a histogram in the following code: ...
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: ...
46 views

### Problem with making a histogram [closed]

I have written code that simulates a M/M/1 queue system. ...
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, ...
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 ...
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. ...
83 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 ...
44 views

### Fill histogram with pattern [duplicate]

Is there a way to fill a histogram with a pattern such as hatched lines? I'm imagining something along the lines of ...
153 views

### Speeding up 2D histogram plotting (perhaps via ListDensityPlot)? [closed]

What would be the fastest way to take an array containing about $n=10^6$ to $10^7$ elements and plot a two-dimensional histogram with A x B bins? ListDensityPlot is taking upwards of half-an-hour. ...
88 views

### Distribution above pointplot [duplicate]

This is my first question here, so I'm sorry if I do something wrong. Also I'm fairly new to Mathematica (using 8). I've used it about 2 months. Only 2 weeks intensive. The rest was about ...
371 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. ...
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 ...