title: Plotting occurrences for values higher than a threshold in Python
body: <p>I have a <strong>non-uniform</strong> array 'A'. </p>
  
  <pre><code>A = [1,3,2,4,..., 12002, 13242, ...]
  </code></pre>
  
  <p>I want to explore how many elements from the array 'A' have values above certain threshold values.</p>
  
  <p>For example, there are 1000 elements that have values larger than 1200, so I want to plot the number of elements that have values larger than 1200. Also, there are other 1500 elements that have values larger than 110 (this includes the 1000 elements, whose values are larger than 1200).<br></p>
  
  <p>This is a rather large data set, so I would not like to omit any kind of information.</p>
  
  <p>Then, I want to plot the number of elements 'N' above a value A vs. Log (A), i.e. </p>
  
  <pre><code>**'Log N(&gt; A)" vs. 'Log (A)'**.
  </code></pre>
  
  <p>I thought of binning the data, but I was rather unsuccessful.
  I haven't done that much statistics in python, so I was wondering if there is a good way to plot this data?</p>
  
  <p>Thanks in advance.</p>