22 votes

Removing a histogram's vertical edges

I think you could achieve what you want by overlaying two Histogram objects, one with no Edges but colored bars, the second one with Edges, but transparent bars, as ...
user avatar
  • 60.4k
17 votes
Accepted

Removing a histogram's vertical edges

The underlying problem is that Histogram creates a set of Rectangles which represent the bars. You can inspect this by looking ...
user avatar
  • 111k
17 votes
Accepted

Can Mathematica achieve this diagram?

Here's a similar figure with made-up data: ...
user avatar
  • 216k
16 votes

Map of United States as a 3D histogram

Here is a bit clumsy (had very little time) approach виа combination of new functionality Entity and regions. ...
user avatar
16 votes
Accepted

Histogram with Error bars

For the case where the height function is "Count", we can use the formula from the linked page in a custom ChartElementFunction ...
user avatar
  • 349k
15 votes

Is there a way to make a bihistogram plot?

data1 = RandomVariate[NormalDistribution[0, 1], 1000]; data2 = RandomVariate[NormalDistribution[0.3, 1], 1000]; One way is ...
user avatar
  • 225k
15 votes
Accepted

How to plot paired smooth histogram/distribution plots?

Here is something using a custom ChartElementFunction ...
user avatar
  • 10.6k
15 votes
Accepted

Constructing a ternary histogram

...
user avatar
  • 349k
14 votes

Histogram of a very large dataset?

I just so happen to have a 4GB data file laying around, so I thought I might give this a try. My data file has one floating point number per line and the number of lines is ...
user avatar
  • 63.2k
13 votes
Accepted

Coloring the bars greater than a certain value in a histogram

Ideally you could have used the ColorFunction option, but sadly for Histogram it seems that it only takes the height as an input....
user avatar
  • 6,976
13 votes
Accepted

Histogram "PDF" vs "Probability"

I believe that when you specify "PDF", the value on the ordinate is the average probability density within a given bin. And to get the "within-this-bin" ...
user avatar
  • 509
13 votes
Accepted

Tuples optimization challenge

Don't use brute force, instead compute probabilities for each amount of leading zero bits in OrderDistribution for the smallest entry of ...
user avatar
  • 14.7k
12 votes

Map of United States as a 3D histogram

Here's another approach : ...
user avatar
  • 13.5k
12 votes
Accepted

Scale SmoothHistogram curve to Histogram

If you really want to, you can scale up from the "PDF". The "scaling" factor depends on how the Histogram was binned, but we can use HistogramDistribution to ...
user avatar
  • 10.6k
11 votes

How can I make a list plot with bars?

BarChart Although OP says "I don't want a BarChart", the requirements of list plot with drop down columns/bars (overlapping bars/columns) can be achieved using ...
user avatar
  • 349k
11 votes
Accepted

How can we create a histogram distribution from binning data?

Update: We can use WeightedData to represent binned data and work with it in the usual way: ...
11 votes

How to create a bar chart from a list of heights *and* bin delimiter positions?

You can already achieve this using Histogram. No need to fuss with ListPlot. Use these forms for the second and third arguments ...
user avatar
  • 919
11 votes
Accepted

How to normalize histogram height to unity?

You can use your own normalization function Histogram[RandomReal[NormalDistribution[], 1000], Automatic, #2/Max@#2 &]
user avatar
  • 42.8k
11 votes
Accepted

Random Variate generating strange results when using ProbabilityDistribution

There seems to be a bug in version 10.1 that has been fixed in 10.3. You can always try writing your own random number generator. Here is a simple acceptance rejection method based on generalized ...
user avatar
  • 19k
11 votes

Bar chart scale in multi-chart visualisation

Histogram does not support a grouped ChartLayout. Hence the workaround using BarChart: I'...
user avatar
  • 349k
11 votes
Accepted

Why aren't CirclePoints[] evenly distributed?

I's say a combination of your code not using an accurate value for Pi/2 and of the automatic binning for Histogram. See the ...
user avatar
  • 60.4k
10 votes

Histogram3D with various colors and textures on cuboids' faces

For some reason those lines are created during the rasterization of the thing inside Texture: ...
user avatar
  • 5,059
10 votes

Box plot combined with histogram and normal curve

This is very similar to Quantum_Oli's answer, but I will post it anyway. It use's a modified version of Jens's plotGrid function to do the work of combining the ...
user avatar
  • 63.2k
10 votes
Accepted

Weighted smooth histogram

SeedRandom[1] data = Transpose[{RandomReal[10, 100], Normalize @ RandomReal[1, 100]}]; Try WeightedData: ...
user avatar
  • 349k
10 votes
Accepted

Histogram as scatter plot

You can use ChartElementFunction -> "Point" to get a histogram as a scatter plot in one step: ...
user avatar
  • 349k
9 votes

Multiple histograms grouped in a chart

Unlike BarChart (with its default ChartLayout option setting Grouped) ...
user avatar
  • 349k
9 votes

Finding the best way to visualize rather complicated data

The data in the question presents a good case for visualization with Chernoff faces. For that data, actually, the Chernoff faces work "out of the box" pretty well! Make faces Load Chernoff faces ...
user avatar
9 votes

Polar histogram

[Edited to correct the bin definition.] You could use SectorChart. The trick is to ensure that your bin widths sum to 360° and that the first bin charted starts ...
user avatar
9 votes
Accepted

How to create a bar chart from a list of heights *and* bin delimiter positions?

While not a Bar Chart per se, I usually prefer to use the result from HistrogramList directly with ListPlot and then join the ...
user avatar
  • 3,244
9 votes

Plot a sequence of histograms?

When you have lots of data, you should consider using SmoothKernelDistribution or SmoothHistogram as I'm assuming that you must ...
user avatar
  • 34.1k

Only top scored, non community-wiki answers of a minimum length are eligible