# Histogram Custom Bin Size

**URL:** https://discourse.paraview.org/t/histogram-custom-bin-size/2966
**Category:** ParaView Support
**Created:** [November 12, 2019, 8:25pm UTC](https://discourse.paraview.org/t/histogram-custom-bin-size/2966 "2019-11-12T20:25:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yamartinezgomez](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/e5b9ba/32.png) [@yamartinezgomez](https://discourse.paraview.org/u/yamartinezgomez)
#### Post date: [November 12, 2019, 8:25pm UTC](https://discourse.paraview.org/t/histogram-custom-bin-size/2966/1 "2019-11-12T20:25:02Z")

</div>

Hello,

I am currently plotting a histogram (using the histogram filter) on a dataset that ranges from 0 to 1.  
When I select a number of bins (i.e 10 bins), the histogram displays correctly. I also have access to a spreadsheet view that provides the bin\_extents and the bin\_values.

However, my end goal is to export a table that tells me exactly the number of cells that are between 0 and 0.1…0.1 and 0.2…0.2 and 0.3…0.3 and 0.4… and so on until 1.

How can I achieve this? (I was trying to play with the custom bin range, but I was not able to properly use it).

I appreciate any help.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [November 12, 2019, 9:27pm UTC](https://discourse.paraview.org/t/histogram-custom-bin-size/2966/2 "2019-11-12T21:27:08Z")

</div>

You mean like this:

- ParaView 5.7.0, builtin server, Linux
- File/ Open/ Examples/ disk\_out\_ref.exo. Apply.
- Filters/ Data Analysis/ Histogram. Chose GlobalNodeId. Apply.
- File/ Save Data/ save as .csv file.  
You will get 10 rows of the midpoint of the data, and the bin count.

---

<div class="post-metadata">

### Author: ![yamartinezgomez](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/e5b9ba/32.png) [@yamartinezgomez](https://discourse.paraview.org/u/yamartinezgomez)
#### Post date: [November 14, 2019, 12:59pm UTC](https://discourse.paraview.org/t/histogram-custom-bin-size/2966/3 "2019-11-14T12:59:06Z")

</div>

I currently have ParaView 5.6.0 64bit.  
I tried the steps you mentioned. However, after selecting Histogram, I was not able to find GlobalNodeld.

My intention is to find the exact number of samples that are greater or equal to 0.1. Therefore, I would like to have control over the bin size ranging from 0-0.1 , 0.1-0.2 , etc.

Thanks again for any help.

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [November 14, 2019, 2:48pm UTC](https://discourse.paraview.org/t/histogram-custom-bin-size/2966/4 "2019-11-14T14:48:22Z")

</div>

It looks like this question got re-asked at [Histogram Bin Width](https://discourse.paraview.org/t/histogram-bin-width/2975). I placed a reply there.
